From 019c7c9f1f48cde1d22dccf424f071de77a2e71d Mon Sep 17 00:00:00 2001 From: David Capello Date: Sat, 19 Apr 2014 21:06:07 -0300 Subject: [PATCH] she_alleg4: Define unique_display and display_scale on all platforms --- src/she/she_alleg4.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/she/she_alleg4.cpp b/src/she/she_alleg4.cpp index 07c9d08b5..357ce8bea 100644 --- a/src/she/she_alleg4.cpp +++ b/src/she/she_alleg4.cpp @@ -173,13 +173,15 @@ private: base::concurrent_queue m_events; }; -#if WIN32 namespace { Display* unique_display = NULL; +int display_scale; + +#if WIN32 + wndproc_t base_wndproc = NULL; bool display_has_mouse = false; -int display_scale; static void queue_event(Event& ev) { @@ -329,8 +331,8 @@ void unsubclass_hwnd(HWND hwnd) base_wndproc = NULL; } -} #endif +} // anonymous namespace class Alleg4Display : public Display { public: