Fix crash toggling fullscreen from within the Settings menu.

See #7957
This commit is contained in:
Henrik Rydgard
2015-09-20 23:57:51 +02:00
parent fbb987a46f
commit 2dcf50cf5e
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -831,7 +831,7 @@ namespace MainWindow {
break;
case ID_OPTIONS_FULLSCREEN:
PostMessage(hWnd, WM_USER_TOGGLE_FULLSCREEN, 0, 0);
SendToggleFullscreen(!g_Config.bFullScreen);
break;
case ID_OPTIONS_VERTEXCACHE: