Mercurial > hg > orthanc-stone
diff Framework/Viewport/SdlViewport.h @ 893:0c5201499af8
Fixes to TrackerSampleApp following IViewport refactoring (FusionMprSdl not working yet)
Removal of the useless scene_ inside ViewportController
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 15 Jul 2019 12:48:19 +0200 |
parents | 0aff28f15ea2 |
children | 88bf49aebc13 |
line wrap: on
line diff
--- a/Framework/Viewport/SdlViewport.h Thu Jul 11 09:18:55 2019 +0200 +++ b/Framework/Viewport/SdlViewport.h Mon Jul 15 12:48:19 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() {