From 8c1da38cb1e014acc95c165fabda902ea4e18de5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 11 Nov 2015 05:34:21 +0100 Subject: [PATCH] (D3D) Cleanups --- gfx/d3d/d3d.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx/d3d/d3d.cpp b/gfx/d3d/d3d.cpp index 89fd413f0a..327794f567 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -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, ¤t_mon, &hm_to_use); + mon_rect = current_mon.rcMonitor; windowed_full = settings->video.windowed_fullscreen;