summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
diff options
context:
space:
mode:
authorJason Barron <jason.barron@nokia.com>2010-09-27 08:54:38 (GMT)
committerJason Barron <jason.barron@nokia.com>2010-10-07 07:22:26 (GMT)
commit83567e2dd93ad46cff2b3b611e298148e7d60f62 (patch)
tree068f9c89a35502d5f473b28c565215305a3edf84 /src/gui/itemviews
parent45134e5dda238e42b89a407464911ac05f214cac (diff)
downloadQt-83567e2dd93ad46cff2b3b611e298148e7d60f62.zip
Qt-83567e2dd93ad46cff2b3b611e298148e7d60f62.tar.gz
Qt-83567e2dd93ad46cff2b3b611e298148e7d60f62.tar.bz2
Minor OpenVG optimization when setting the EGL surface attribute.
Calling eglGetError() is expensive so we should avoid doing it unless we know there actually is an error. The function returns EGL_FALSE upon error so we can test for that instead of using eglGetError(). Reviewed-by: Jani Hautakangas
Diffstat (limited to 'src/gui/itemviews')
0 files changed, 0 insertions, 0 deletions