comparison 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
comparison
equal deleted inserted replaced
892:50cd372e2460 893:0c5201499af8
49 OpenGLCompositor compositor_; 49 OpenGLCompositor compositor_;
50 50
51 public: 51 public:
52 SdlViewport(const char* title, 52 SdlViewport(const char* title,
53 unsigned int width, 53 unsigned int width,
54 unsigned int height); 54 unsigned int height,
55 bool allowDpiScaling = true);
55 56
56 SdlViewport(const char* title, 57 SdlViewport(const char* title,
57 unsigned int width, 58 unsigned int width,
58 unsigned int height, 59 unsigned int height,
59 boost::shared_ptr<Scene2D>& scene); 60 boost::shared_ptr<Scene2D>& scene,
61 bool allowDpiScaling = true);
60 62
61 virtual void Refresh() 63 virtual void Refresh()
62 { 64 {
63 compositor_.Refresh(); 65 compositor_.Refresh();
64 } 66 }