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);