(Win32) Another buildfix

This commit is contained in:
twinaphex 2015-11-12 05:18:13 +01:00
parent 8d0e375de0
commit d4f1b6d14a

View File

@ -617,7 +617,7 @@ bool win32_set_video_mode(void *data,
style = WS_POPUP | WS_VISIBLE;
if (!win32_monitor_set_fullscreen(width, height, refresh, current_mon.szDevice))
goto error;
return false;
/* Display settings might have changed, get new coordinates. */
GetMonitorInfo(hm_to_use, (MONITORINFO*)&current_mon);