Changeset 769 for trunk/src/gui/egl/qegl_x11.cpp
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/egl/qegl_x11.cpp
r651 r769 94 94 } 95 95 96 EGL Display QEglContext::getDisplay(QPaintDevice *device)96 EGLNativeDisplayType QEglContext::nativeDisplay() 97 97 { 98 Q_UNUSED(device);99 98 Display *xdpy = QX11Info::display(); 100 99 if (!xdpy) { 101 100 qWarning("QEglContext::getDisplay(): X11 display is not open"); 102 return EGL _NO_DISPLAY;101 return EGLNativeDisplayType(EGL_DEFAULT_DISPLAY); 103 102 } 104 return eglGetDisplay(EGLNativeDisplayType(xdpy));103 return EGLNativeDisplayType(xdpy); 105 104 } 106 105
Note:
See TracChangeset
for help on using the changeset viewer.