summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2010-02-19 14:12:28 (GMT)
committerLars Knoll <lars.knoll@nokia.com>2010-02-19 15:08:11 (GMT)
commitee395a5b2f9e0d5f26884dbf40d06f3df7671282 (patch)
treedaba10f8232992f09b2c57a5c8fca3d26027788f
parent54ac311352fd69e05481b739ddd2c937f4e7b858 (diff)
downloadQt-ee395a5b2f9e0d5f26884dbf40d06f3df7671282.zip
Qt-ee395a5b2f9e0d5f26884dbf40d06f3df7671282.tar.gz
Qt-ee395a5b2f9e0d5f26884dbf40d06f3df7671282.tar.bz2
use egl properties when creating surfaces on symbian
We are currently getting non premultiplied surfaces on symbian since we do not forward the egl properties that we'd like to have to the driver. Reviewed-By: Jason Barron
-rw-r--r--src/gui/egl/qegl_symbian.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/egl/qegl_symbian.cpp b/src/gui/egl/qegl_symbian.cpp
index b1c9408..5a010cd 100644
--- a/src/gui/egl/qegl_symbian.cpp
+++ b/src/gui/egl/qegl_symbian.cpp
@@ -78,9 +78,9 @@ EGLSurface QEglContext::createSurface(QPaintDevice *device, const QEglProperties
props = 0;
EGLSurface surf;
if (devType == QInternal::Widget)
- surf = eglCreateWindowSurface(dpy, cfg, windowDrawable, 0);
+ surf = eglCreateWindowSurface(dpy, cfg, windowDrawable, props);
else
- surf = eglCreatePixmapSurface(dpy, cfg, pixmapDrawable, 0);
+ surf = eglCreatePixmapSurface(dpy, cfg, pixmapDrawable, props);
if (surf == EGL_NO_SURFACE)
qWarning("QEglContext::createSurface(): Unable to create EGL surface, error = 0x%x", eglGetError());
return surf;