src/opengl/qgl_qws.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
--- a/src/opengl/qgl_qws.cpp	Mon Mar 15 12:43:09 2010 +0200
+++ b/src/opengl/qgl_qws.cpp	Thu Apr 08 14:19:33 2010 +0300
@@ -198,11 +198,6 @@
     // 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;