mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-10 03:44:16 +00:00
she_alleg4: Define unique_display and display_scale on all platforms
This commit is contained in:
parent
bc32c18dbb
commit
019c7c9f1f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user