summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/testlite/qtestlitewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/testlite/qtestlitewindow.cpp')
-rw-r--r--src/plugins/platforms/testlite/qtestlitewindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/testlite/qtestlitewindow.cpp b/src/plugins/platforms/testlite/qtestlitewindow.cpp
index 9f3c435..0a6e1ff 100644
--- a/src/plugins/platforms/testlite/qtestlitewindow.cpp
+++ b/src/plugins/platforms/testlite/qtestlitewindow.cpp
@@ -1021,7 +1021,7 @@ QPlatformGLContext *QTestLiteWindow::glContext() const
if (!mGLContext) {
QTestLiteWindow *that = const_cast<QTestLiteWindow *>(this);
#ifndef QT_NO_OPENGL
- that->mGLContext = new QGLXGLContext(x_window, xd, widget()->platformWindowFormat());
+ that->mGLContext = new QGLXGLContext(x_window, xd, that,widget()->platformWindowFormat());
#endif
}
return mGLContext;