summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/eglconvenience/qeglplatformscreen_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-03-07 16:05:13 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-10 21:04:37 +0100
commit08b9e51c47ecdf6c687b3aed8bee7d7711219d25 (patch)
treec08e2aa8ea8e07df188b48e7390891cc70a67c96 /src/platformsupport/eglconvenience/qeglplatformscreen_p.h
parenta4f421d4311e5c0d3ebf9154856d5ecb56af292e (diff)
egl: Choose GLES3 capable configs when needed
Passing OpenGLES and majorVersion 3 in a QSurfaceFormat selects GLES3 in case it is supported. This works fine already now, but is not safe since the config choosing logic does not request a GLES3-capable configuration and so it may end up with a non-GLES3 compatible one. This is now corrected by passing the EGL_OPENGL_ES3_BIT_KHR bit when EGL_KHR_create_context is available. Change-Id: Iacee1e1819b944c0f7c1062666106abddf59272b Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src/platformsupport/eglconvenience/qeglplatformscreen_p.h')
0 files changed, 0 insertions, 0 deletions