mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
VideoBackends: Merge ShowConfig functions.
This commit is contained in:
@ -67,7 +67,7 @@ std::string VideoBackend::GetConfigName() const
|
||||
return "gfx_dx12";
|
||||
}
|
||||
|
||||
void InitBackendInfo()
|
||||
void VideoBackend::InitBackendInfo()
|
||||
{
|
||||
HRESULT hr = D3D::LoadDXGI();
|
||||
if (FAILED(hr))
|
||||
@ -157,12 +157,6 @@ void InitBackendInfo()
|
||||
D3D::UnloadDXGI();
|
||||
}
|
||||
|
||||
void VideoBackend::ShowConfig(void* hParent)
|
||||
{
|
||||
InitBackendInfo();
|
||||
Host_ShowVideoConfig(hParent, GetDisplayName(), GetConfigName());
|
||||
}
|
||||
|
||||
bool VideoBackend::Initialize(void* window_handle)
|
||||
{
|
||||
if (window_handle == nullptr)
|
||||
|
Reference in New Issue
Block a user