summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2011-08-05 15:34:01 +0300
committerJani Hautakangas <jani.hautakangas@nokia.com>2011-08-05 15:52:07 +0300
commit38df9798da4d9645d0620b9053f2a3f6ec35f80b (patch)
tree80f46524aeb7e729e774e7a8eece11f2441ae549 /src/gui/dialogs
parentd5caf208ae0e87ed1f2706aba8db7e6395fd156c (diff)
Fix to QGLWidget rendering with VG graphics system
QEGLContext don't expect EGL based API to change on runtime (e.g. VG->GL). QEGLContext caches current API context pointer and uses this cached value to determine whether to make eglMakeCurrent call or not. VG graphics system and QGLWidget creates own separate QEGLContext objects, but both of those objects consider themself to be current context, so no eglMakeCurrent call occurs even though the API has changed. This patch adds ifdef'd current context check for Symbian which enables eglMakeCurrent call if EGL API has changed. (Symbian is the only supported platform currently where this scenario happens). Task-number: QT-5012 Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/dialogs')
0 files changed, 0 insertions, 0 deletions