OpenGL: GUI fix for 1x and 2x

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3389 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2009-06-09 13:01:50 +00:00
parent 33a0f0838b
commit 3a3ee9131e
1 changed files with 4 additions and 2 deletions

View File

@ -485,11 +485,13 @@ void ConfigDialog::GeneralSettingsChanged(wxCommandEvent& event)
break;
case ID_NATIVERESOLUTION:
g_Config.bNativeResolution = m_NativeResolution->IsChecked();
if (g_Config.bNativeResolution) g_Config.b2xResolution = false;
// Don't allow 1x and 2x at the same time
if (g_Config.bNativeResolution) { g_Config.b2xResolution = false; m_2xResolution->SetValue(false); }
break;
case ID_2X_RESOLUTION:
g_Config.b2xResolution = m_2xResolution->IsChecked();
if (g_Config.b2xResolution) g_Config.bNativeResolution = false;
// Don't allow 1x and 2x at the same time
if (g_Config.b2xResolution) { g_Config.bNativeResolution = false; m_NativeResolution->SetValue(false); }
break;
case ID_VSYNC:
g_Config.bVSync = m_VSync->IsChecked();