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/gui/egl/qegl_x11.cpp

    r651 r769  
    9494}
    9595
    96 EGLDisplay QEglContext::getDisplay(QPaintDevice *device)
     96EGLNativeDisplayType QEglContext::nativeDisplay()
    9797{
    98     Q_UNUSED(device);
    9998    Display *xdpy = QX11Info::display();
    10099    if (!xdpy) {
    101100        qWarning("QEglContext::getDisplay(): X11 display is not open");
    102         return EGL_NO_DISPLAY;
     101        return EGLNativeDisplayType(EGL_DEFAULT_DISPLAY);
    103102    }
    104     return eglGetDisplay(EGLNativeDisplayType(xdpy));
     103    return EGLNativeDisplayType(xdpy);
    105104}
    106105
Note: See TracChangeset for help on using the changeset viewer.