summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_wince.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qgl_wince.cpp')
-rw-r--r--src/opengl/qgl_wince.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qgl_wince.cpp b/src/opengl/qgl_wince.cpp
index fefcca2..47a19b5 100644
--- a/src/opengl/qgl_wince.cpp
+++ b/src/opengl/qgl_wince.cpp
@@ -145,6 +145,7 @@ bool QGLContext::chooseContext(const QGLContext* shareContext)
// Get the display and initialize it.
d->eglContext = new QEglContext();
+ d->ownsEglContext = true;
d->eglContext->setApi(QEgl::OpenGL);
// Construct the configuration we need for this surface.