(D3D) Cleanups

This commit is contained in:
twinaphex 2015-11-11 05:34:21 +01:00
parent 268b1b61d0
commit 8c1da38cb1

View File

@ -634,11 +634,11 @@ static bool d3d_construct(d3d_video_t *d3d,
#ifdef HAVE_MONITOR
bool windowed_full;
RECT mon_rect;
MONITORINFOEX mon;
MONITORINFOEX curent_mon;
HMONITOR hm_to_use;
d3d_monitor_rect(d3d, &mon, &hm_to_use);
mon_rect = mon.rcMonitor;
d3d_monitor_rect(d3d, &current_mon, &hm_to_use);
mon_rect = current_mon.rcMonitor;
windowed_full = settings->video.windowed_fullscreen;