diff Applications/Sdl/SdlOpenGLWindow.h @ 656:002d9562c8f5

Added support to DISABLE legacy scaling in SDL Windows (only in WIN32... this might also be needed on macos and GNU/Linux ?) + fixed text info overlay pos for angle measure (this requires the app to be aware of the compositor)
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 14 May 2019 16:54:13 +0200
parents b4de8272e8fb
children
line wrap: on
line diff
--- a/Applications/Sdl/SdlOpenGLWindow.h	Tue May 14 13:51:32 2019 +0200
+++ b/Applications/Sdl/SdlOpenGLWindow.h	Tue May 14 16:54:13 2019 +0200
@@ -37,7 +37,8 @@
   public:
     SdlOpenGLWindow(const char* title,
                     unsigned int width,
-                    unsigned int height);
+                    unsigned int height,
+                    bool allowDpiScaling = true);
 
     ~SdlOpenGLWindow();