diff Framework/Viewport/SdlViewport.h @ 900:f9ae731fdc25 am-dev

Merge
author Alain Mazy <alain@mazy.be>
date Tue, 16 Jul 2019 12:42:31 +0200
parents 0c5201499af8
children 88bf49aebc13
line wrap: on
line diff
--- a/Framework/Viewport/SdlViewport.h	Tue Jul 16 12:37:29 2019 +0200
+++ b/Framework/Viewport/SdlViewport.h	Tue Jul 16 12:42:31 2019 +0200
@@ -51,12 +51,14 @@
   public:
     SdlViewport(const char* title,
                 unsigned int width,
-                unsigned int height);
+                unsigned int height,
+                bool allowDpiScaling = true);
 
     SdlViewport(const char* title,
                 unsigned int width,
                 unsigned int height,
-                boost::shared_ptr<Scene2D>& scene);
+                boost::shared_ptr<Scene2D>& scene,
+                bool allowDpiScaling = true);
 
     virtual void Refresh()
     {