mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
VideoBackends: Merge ShowConfig functions.
This commit is contained in:
parent
7833ff25df
commit
5f2f462067
12 changed files with 21 additions and 44 deletions
|
@ -111,7 +111,7 @@ static std::vector<std::string> GetShaders(const std::string& sub_dir = "")
|
|||
return result;
|
||||
}
|
||||
|
||||
static void InitBackendInfo()
|
||||
void VideoBackend::InitBackendInfo()
|
||||
{
|
||||
g_Config.backend_info.APIType = API_OPENGL;
|
||||
g_Config.backend_info.bSupportsExclusiveFullscreen = false;
|
||||
|
@ -137,14 +137,6 @@ static void InitBackendInfo()
|
|||
g_Config.backend_info.AnaglyphShaders = GetShaders(ANAGLYPH_DIR DIR_SEP);
|
||||
}
|
||||
|
||||
void VideoBackend::ShowConfig(void* parent_handle)
|
||||
{
|
||||
if (!m_initialized)
|
||||
InitBackendInfo();
|
||||
|
||||
Host_ShowVideoConfig(parent_handle, GetDisplayName(), GetConfigName());
|
||||
}
|
||||
|
||||
bool VideoBackend::Initialize(void* window_handle)
|
||||
{
|
||||
InitBackendInfo();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue