mirror of
https://github.com/libretro/Play-.git
synced 2024-11-27 10:40:41 +00:00
Fix autotests build.
This commit is contained in:
parent
2ceb94adfc
commit
fb58cc77b0
@ -11,7 +11,7 @@ CGSH_OpenGL_SettingsWnd::CGSH_OpenGL_SettingsWnd(HWND parentWindow)
|
||||
m_enableHighResMode = Framework::Win32::CButton(GetItem(IDC_GSHOPENGL_SETTINGS_ENABLEHIGHRESMODE));
|
||||
m_forceBilinearTextures = Framework::Win32::CButton(GetItem(IDC_GSHOPENGL_SETTINGS_FORCEBILINEAR));
|
||||
|
||||
m_enableHighResMode.SetCheck(CAppConfig::GetInstance().GetPreferenceBoolean(PREF_CGSH_OPENGL_ENABLEHIGHRESMODE));
|
||||
m_enableHighResMode.SetCheck(CAppConfig::GetInstance().GetPreferenceInteger(PREF_CGSH_OPENGL_RESOLUTION_FACTOR) != 1);
|
||||
m_forceBilinearTextures.SetCheck(CAppConfig::GetInstance().GetPreferenceBoolean(PREF_CGSH_OPENGL_FORCEBILINEARTEXTURES));
|
||||
}
|
||||
|
||||
@ -38,6 +38,6 @@ long CGSH_OpenGL_SettingsWnd::OnCommand(unsigned short id, unsigned short cmd, H
|
||||
|
||||
void CGSH_OpenGL_SettingsWnd::Save()
|
||||
{
|
||||
CAppConfig::GetInstance().SetPreferenceBoolean(PREF_CGSH_OPENGL_ENABLEHIGHRESMODE, m_enableHighResMode.GetCheck());
|
||||
CAppConfig::GetInstance().SetPreferenceBoolean(PREF_CGSH_OPENGL_RESOLUTION_FACTOR, m_enableHighResMode.GetCheck() ? 2 : 1);
|
||||
CAppConfig::GetInstance().SetPreferenceBoolean(PREF_CGSH_OPENGL_FORCEBILINEARTEXTURES, m_forceBilinearTextures.GetCheck());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user