mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
VideoBackends: Merge ShowConfig functions.
This commit is contained in:
parent
7833ff25df
commit
5f2f462067
12 changed files with 21 additions and 44 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue