Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/opengl/qglpixelbuffer_egl.cpp

    r651 r769  
    6565    ctx = new QEglContext();
    6666    ctx->setApi(QEgl::OpenGL);
    67 
    68     // Open the EGL display.
    69     if (!ctx->openDisplay(0)) {
    70         delete ctx;
    71         ctx = 0;
    72         return false;
    73     }
    7467
    7568    // Find the shared context.
     
    216209{
    217210    // See if we have at least 1 configuration that matches the default format.
    218     EGLDisplay dpy = QEglContext::defaultDisplay(0);
     211    EGLDisplay dpy = QEglContext::display();
    219212    if (dpy == EGL_NO_DISPLAY)
    220213        return false;
Note: See TracChangeset for help on using the changeset viewer.