summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguiglcontext_qpa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qguiglcontext_qpa.cpp')
-rw-r--r--src/gui/kernel/qguiglcontext_qpa.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qguiglcontext_qpa.cpp b/src/gui/kernel/qguiglcontext_qpa.cpp
index 61a0479bd3..a11a1c77de 100644
--- a/src/gui/kernel/qguiglcontext_qpa.cpp
+++ b/src/gui/kernel/qguiglcontext_qpa.cpp
@@ -180,6 +180,7 @@ bool QGuiGLContext::create()
Q_D(QGuiGLContext);
d->platformGLContext = QGuiApplicationPrivate::platformIntegration()->createPlatformGLContext(this);
+ d->platformGLContext->setContext(this);
return d->platformGLContext;
}