From f142ee99fc7d8cd7a3754d690fbac34df5e8b811 Mon Sep 17 00:00:00 2001 From: npwoods Date: Sat, 10 Aug 2019 18:33:27 -0400 Subject: Removed some dead static variables (nw) (#5458) --- src/osd/windows/window.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/osd/windows/window.cpp b/src/osd/windows/window.cpp index dff970eb1fe..3794e79cd14 100644 --- a/src/osd/windows/window.cpp +++ b/src/osd/windows/window.cpp @@ -88,10 +88,6 @@ using namespace Windows::UI::Core; static DWORD main_threadid; -// actual physical resolution -static int win_physical_width; -static int win_physical_height; - //============================================================ @@ -1797,11 +1793,7 @@ void win_window_info::adjust_window_position_after_major_change() // take note of physical window size (used for lightgun coordinate calculation) if (m_index == 0) - { - win_physical_width = newrect.width(); - win_physical_height = newrect.height(); - osd_printf_verbose("Physical width %d, height %d\n",win_physical_width,win_physical_height); - } + osd_printf_verbose("Physical width %d, height %d\n", newrect.width(), newrect.height()); } -- cgit v1.2.3