mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
VideoBackends: Merge ShowConfig functions.
This commit is contained in:
@ -66,7 +66,7 @@ std::string VideoBackend::GetConfigName() const
|
||||
return "gfx_dx11";
|
||||
}
|
||||
|
||||
void InitBackendInfo()
|
||||
void VideoBackend::InitBackendInfo()
|
||||
{
|
||||
HRESULT hr = DX11::D3D::LoadDXGI();
|
||||
if (SUCCEEDED(hr))
|
||||
@ -143,12 +143,6 @@ void InitBackendInfo()
|
||||
DX11::D3D::UnloadD3D();
|
||||
}
|
||||
|
||||
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