diff Framework/Viewport/SdlViewport.cpp @ 1055:af456106576c

moving GetCanvasIdentifier from IViewport to WebAssemblyViewport
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 10 Oct 2019 16:07:58 +0200
parents 32b403a47b19
children f3bb9a6dd949 2d8ab34c8c91
line wrap: on
line diff
--- a/Framework/Viewport/SdlViewport.cpp	Thu Oct 10 15:55:54 2019 +0200
+++ b/Framework/Viewport/SdlViewport.cpp	Thu Oct 10 16:07:58 2019 +0200
@@ -30,7 +30,6 @@
                                        unsigned int width,
                                        unsigned int height,
                                        bool allowDpiScaling) :
-    SdlViewport(title),
     context_(title, width, height, allowDpiScaling)
   {
     compositor_.reset(new OpenGLCompositor(context_, GetScene()));
@@ -41,7 +40,7 @@
                                        unsigned int height,
                                        boost::shared_ptr<Scene2D>& scene,
                                        bool allowDpiScaling) :
-    SdlViewport(title, scene),
+    SdlViewport(scene),
     context_(title, width, height, allowDpiScaling)
   {
     compositor_.reset(new OpenGLCompositor(context_, GetScene()));
@@ -57,7 +56,6 @@
                                      unsigned int width,
                                      unsigned int height,
                                      bool allowDpiScaling) :
-    SdlViewport(title),
     window_(title, width, height, false /* enable OpenGL */, allowDpiScaling),
     compositor_(GetScene(), width, height)
   {