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.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/opengl/qgl_wince.cpp b/src/opengl/qgl_wince.cpp
index 00a125a..f81115c 100644
--- a/src/opengl/qgl_wince.cpp
+++ b/src/opengl/qgl_wince.cpp
@@ -155,11 +155,6 @@ bool QGLContext::chooseContext(const QGLContext* shareContext)
// Get the display and initialize it.
d->eglContext = new QEglContext();
d->eglContext->setApi(QEgl::OpenGL);
- if (!d->eglContext->openDisplay(device())) {
- delete d->eglContext;
- d->eglContext = 0;
- return false;
- }
// Construct the configuration we need for this surface.
QEglProperties configProps;