summaryrefslogtreecommitdiffstats
path: root/src/gui/egl
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2009-12-04 12:15:52 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2009-12-04 13:16:54 (GMT)
commit3b82e91bcfb19f52ce4d030eff146852d9cde08f (patch)
tree13a73faf3dc377b55e13dcbb29a5a41fac906878 /src/gui/egl
parentb699cdad144e0a23f1dabf26c05fde2f4e3ec6f9 (diff)
downloadQt-3b82e91bcfb19f52ce4d030eff146852d9cde08f.zip
Qt-3b82e91bcfb19f52ce4d030eff146852d9cde08f.tar.gz
Qt-3b82e91bcfb19f52ce4d030eff146852d9cde08f.tar.bz2
Add experimental OpenKODE support
Diffstat (limited to 'src/gui/egl')
-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 c0e4890..0f51846 100644
--- a/src/gui/egl/qegl.cpp
+++ b/src/gui/egl/qegl.cpp
@@ -188,7 +188,7 @@ bool QEglContext::createContext(QEglContext *shareContext, const QEglProperties
}
}
if (ctx == EGL_NO_CONTEXT) {
- ctx = eglCreateContext(dpy, cfg, 0, contextProps.properties());
+ ctx = eglCreateContext(dpy, cfg, EGL_NO_CONTEXT, contextProps.properties());
if (ctx == EGL_NO_CONTEXT) {
qWarning() << "QEglContext::createContext(): Unable to create EGL context:" << errorString(eglGetError());
return false;