summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qegl_qws.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-02-12 14:50:49 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-02-12 16:03:16 (GMT)
commitaf1f28a0d78deee31c5df0d7d042ae7671c8c34c (patch)
treee42d9effcddda6289afbeb4d9817db68467ce308 /src/gui/egl/qegl_qws.cpp
parent040151b51780084f3a2b764bab7e2359677eb0b1 (diff)
downloadQt-af1f28a0d78deee31c5df0d7d042ae7671c8c34c.zip
Qt-af1f28a0d78deee31c5df0d7d042ae7671c8c34c.tar.gz
Qt-af1f28a0d78deee31c5df0d7d042ae7671c8c34c.tar.bz2
Cleanup QEglContext & EGLDisplays
This basicaly replaces display(), openDisplay() & defaultDisplay() methods with a single display() and nativeDisplay(), the latter being implemented in the platform-specific files and everything else being cross-platform code. Reviewed-By: Trond
Diffstat (limited to 'src/gui/egl/qegl_qws.cpp')
-rw-r--r--src/gui/egl/qegl_qws.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/egl/qegl_qws.cpp b/src/gui/egl/qegl_qws.cpp
index e999e0b..2a61beb 100644
--- a/src/gui/egl/qegl_qws.cpp
+++ b/src/gui/egl/qegl_qws.cpp
@@ -64,12 +64,6 @@ EGLSurface QEglContext::createSurface(QPaintDevice *device, const QEglProperties
return EGL_NO_SURFACE;
}
-EGLDisplay QEglContext::getDisplay(QPaintDevice *device)
-{
- Q_UNUSED(device);
- return eglGetDisplay(EGLNativeDisplayType(EGL_DEFAULT_DISPLAY));
-}
-
static QScreen *screenForDevice(QPaintDevice *device)
{
QScreen *screen = qt_screen;