Fixed settings not getting instantly updated causing MSAA sample checkboxes to not be disabled.
This commit is contained in:
parent
faeced5c66
commit
d818155e8e
|
@ -5813,8 +5813,10 @@ LRESULT CALLBACK GFX3DSettingsDlgProc(HWND hw, UINT msg, WPARAM wp, LPARAM lp)
|
||||||
case IDC_MSAA_LIMIT:
|
case IDC_MSAA_LIMIT:
|
||||||
{
|
{
|
||||||
HWND cur;
|
HWND cur;
|
||||||
BOOL enable = IsDlgButtonChecked(hw, IDC_MSAA_LIMIT);
|
CommonSettings.GFX3D_Renderer_AntiAliasingLimit = IsDlgButtonChecked(hw, IDC_MSAA_LIMIT);
|
||||||
|
BOOL enable = CommonSettings.GFX3D_Renderer_AntiAliasingLimit;
|
||||||
|
|
||||||
|
WritePrivateProfileBool("3D", "AntiAliasingLimit", enable, IniName);
|
||||||
cur = GetDlgItem(hw, IDC_MSAA_SAMPLES_8);
|
cur = GetDlgItem(hw, IDC_MSAA_SAMPLES_8);
|
||||||
EnableWindow(cur, enable);
|
EnableWindow(cur, enable);
|
||||||
cur = GetDlgItem(hw, IDC_MSAA_SAMPLES_4);
|
cur = GetDlgItem(hw, IDC_MSAA_SAMPLES_4);
|
||||||
|
|
Loading…
Reference in New Issue