diff Applications/Sdl/SdlWindow.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 731b40e9bfe1
children
line wrap: on
line diff
--- a/Applications/Sdl/SdlWindow.h	Tue May 14 13:51:32 2019 +0200
+++ b/Applications/Sdl/SdlWindow.h	Tue May 14 16:54:13 2019 +0200
@@ -40,7 +40,8 @@
     SdlWindow(const char* title,
               unsigned int width,
               unsigned int height,
-              bool enableOpenGl);
+              bool enableOpenGl,
+              bool allowDpiScaling = true);
 
     ~SdlWindow();