mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
VideoBackends: Merge ShowConfig functions.
This commit is contained in:
parent
7833ff25df
commit
5f2f462067
12 changed files with 21 additions and 44 deletions
|
@ -139,7 +139,7 @@ std::string VideoSoftware::GetConfigName() const
|
|||
return "gfx_software";
|
||||
}
|
||||
|
||||
static void InitBackendInfo()
|
||||
void VideoSoftware::InitBackendInfo()
|
||||
{
|
||||
g_Config.backend_info.APIType = API_NONE;
|
||||
g_Config.backend_info.bSupports3DVision = false;
|
||||
|
@ -152,13 +152,6 @@ static void InitBackendInfo()
|
|||
g_Config.backend_info.AAModes = {1};
|
||||
}
|
||||
|
||||
void VideoSoftware::ShowConfig(void* hParent)
|
||||
{
|
||||
if (!m_initialized)
|
||||
InitBackendInfo();
|
||||
Host_ShowVideoConfig(hParent, GetDisplayName(), GetConfigName());
|
||||
}
|
||||
|
||||
bool VideoSoftware::Initialize(void* window_handle)
|
||||
{
|
||||
InitBackendInfo();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue