she_alleg4: Define unique_display and display_scale on all platforms

This commit is contained in:
David Capello 2014-04-19 21:06:07 -03:00
parent bc32c18dbb
commit 019c7c9f1f

View File

@ -173,13 +173,15 @@ private:
base::concurrent_queue<Event> 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: