(Win32) Buildfix

This commit is contained in:
twinaphex 2017-04-28 14:28:40 +02:00
parent 3764c39dfc
commit 3ad821c102

View File

@ -793,7 +793,7 @@ void win32_set_style(MONITORINFOEX *current_mon, HMONITOR *hm_to_use,
* an integer, so video.refresh_rate needs to be rounded. Also, account
* for black frame insertion using video.refresh_rate set to half
* of the display refresh rate, as well as higher vsync swap intervals. */
float refresh_mod = settings->video.black_frame_insertion ? 2.0f : 1.0f;
float refresh_mod = settings->bools.video_black_frame_insertion ? 2.0f : 1.0f;
unsigned refresh = roundf(settings->video.refresh_rate
* refresh_mod * settings->video.swap_interval);