summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qegl.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-08-06 13:28:48 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-08-21 10:55:20 (GMT)
commitbb49724be3439311c539a7f5bb0014c5fd83f375 (patch)
tree7f1d206adbc9b66dc57cc10c6dab3668fcd1d356 /src/gui/egl/qegl.cpp
parent07b0bf308e65786c3d72de55b30590c3e8e3133c (diff)
downloadQt-bb49724be3439311c539a7f5bb0014c5fd83f375.zip
Qt-bb49724be3439311c539a7f5bb0014c5fd83f375.tar.gz
Qt-bb49724be3439311c539a7f5bb0014c5fd83f375.tar.bz2
Make QEglContext::extensions() static
This is private API Reviewed-By: Trustme
Diffstat (limited to 'src/gui/egl/qegl.cpp')
-rw-r--r--src/gui/egl/qegl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/egl/qegl.cpp b/src/gui/egl/qegl.cpp
index 9d0ead1..f0df0c9 100644
--- a/src/gui/egl/qegl.cpp
+++ b/src/gui/egl/qegl.cpp
@@ -402,7 +402,7 @@ void QEglContext::dumpAllConfigs()
QString QEglContext::extensions()
{
- const char* exts = eglQueryString(dpy, EGL_EXTENSIONS);
+ const char* exts = eglQueryString(QEglContext::defaultDisplay(0), EGL_EXTENSIONS);
return QString(QLatin1String(exts));
}