diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-03-14 17:28:32 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-03-14 17:28:32 +0100 |
commit | e19d4d21dc5c3bf45032cfb6d69a51a1bf39f522 (patch) | |
tree | 340dcd25b8ac95bd80903cbd0e0779a791d38f7e /plugingui/nativewindow_cocoa.h | |
parent | 2a4df874e36de56cc4416580fa749be43227d003 (diff) |
Cocoa: Use window scale factor when rendering UI buffer.
Diffstat (limited to 'plugingui/nativewindow_cocoa.h')
-rw-r--r-- | plugingui/nativewindow_cocoa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugingui/nativewindow_cocoa.h b/plugingui/nativewindow_cocoa.h index 74eb2f4..8dc73e6 100644 --- a/plugingui/nativewindow_cocoa.h +++ b/plugingui/nativewindow_cocoa.h @@ -72,6 +72,7 @@ private: EventQueue event_queue; void* native_window{nullptr}; bool first{true}; + float scale{1.0}; }; } // GUI:: |