diff options
Diffstat (limited to 'src/declarative/items/qsgcanvas.cpp')
-rw-r--r-- | src/declarative/items/qsgcanvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/items/qsgcanvas.cpp b/src/declarative/items/qsgcanvas.cpp index d4a74cdda8..4eb6f92395 100644 --- a/src/declarative/items/qsgcanvas.cpp +++ b/src/declarative/items/qsgcanvas.cpp @@ -1893,7 +1893,7 @@ QDeclarativeIncubationController *QSGCanvas::incubationController() const void QSGCanvasRenderLoop::createGLContext() { gl = new QOpenGLContext(); - gl->setFormat(d->context->defaultSurfaceFormat()); + gl->setFormat(renderer->requestedFormat()); gl->create(); } |