From 26a3df4715579483bc4973f7369f7dd00def9770 Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Wed, 9 Dec 2015 08:20:44 +0100 Subject: [PATCH] LP-29 remove OSGViewport hack apparently not necessary anymore --- ground/gcs/src/libs/osgearth/osgQtQuick/OSGViewport.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ground/gcs/src/libs/osgearth/osgQtQuick/OSGViewport.cpp b/ground/gcs/src/libs/osgearth/osgQtQuick/OSGViewport.cpp index c977305b9..ae53303d9 100644 --- a/ground/gcs/src/libs/osgearth/osgQtQuick/OSGViewport.cpp +++ b/ground/gcs/src/libs/osgearth/osgQtQuick/OSGViewport.cpp @@ -93,11 +93,6 @@ public: OsgEarth::initialize(); - // workaround to avoid using GraphicsContext #0 - if (!dummy.valid()) { - dummy = createGraphicsContext(); - } - createViewer(); connect(quickItem, &OSGViewport::windowChanged, this, &Hidden::onWindowChanged);