diff options
author | npwoods <npwoods@mess.org> | 2019-08-10 18:33:27 -0400 |
---|---|---|
committer | Robert <Robbbert@users.noreply.github.com> | 2019-08-11 08:33:27 +1000 |
commit | f142ee99fc7d8cd7a3754d690fbac34df5e8b811 (patch) | |
tree | 4d899338211f92c1c36017a455573c0f51e07881 | |
parent | 1a33fe99452250baef479417154ad55c82fc1c89 (diff) |
Removed some dead static variables (nw) (#5458)
-rw-r--r-- | src/osd/windows/window.cpp | 10 |
1 files changed, 1 insertions, 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()); } |