summaryrefslogtreecommitdiff
path: root/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32.c b/win32.c
index 52235c94b..91c523cd1 100644
--- a/win32.c
+++ b/win32.c
@@ -498,6 +498,7 @@ static void MakeWindow(bool full_screen)
error("CreateWindow failed");
}
}
+ GameSizeChanged(); // invalidate all windows, force redraw
}
static bool AllocateDibSection(int w, int h)
@@ -727,7 +728,7 @@ static bool Win32GdiChangeRes(int w, int h)
_wnd.width = _wnd.width_org = w;
_wnd.height = _wnd.height_org = h;
- MakeWindow(_wnd.fullscreen);
+ MakeWindow(_fullscreen); // _wnd.fullscreen screws up ingame resolution switching
return true;
}