summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2009-12-04 13:15:52 +0100
committerHarald Fernengel <harald.fernengel@nokia.com>2009-12-04 14:16:54 +0100
commit3b82e91bcfb19f52ce4d030eff146852d9cde08f (patch)
tree13a73faf3dc377b55e13dcbb29a5a41fac906878 /src/gui
parentb699cdad144e0a23f1dabf26c05fde2f4e3ec6f9 (diff)
Add experimental OpenKODE support
Diffstat (limited to 'src/gui')
-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 c0e48903ac..0f51846399 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;