diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index f8dadcbc22..3c37bb6a6f 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1465,6 +1465,9 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo _saveAvatarOverrideUrl = true; } + // setDefaultFormat has no effect after the platform window has been created, so call it here. + QSurfaceFormat::setDefaultFormat(getDefaultOpenGLSurfaceFormat()); + _glWidget = new GLCanvas(); getApplicationCompositor().setRenderingWidget(_glWidget); _window->setCentralWidget(_glWidget);