diff -r dee5afe5301f -r 3f74d0d4af4c src/opengl/qgl_wince.cpp --- a/src/opengl/qgl_wince.cpp Mon Mar 15 12:43:09 2010 +0200 +++ b/src/opengl/qgl_wince.cpp Thu Apr 08 14:19:33 2010 +0300 @@ -155,11 +155,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;