diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-03-07 16:05:13 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-10 21:04:37 +0100 |
commit | 08b9e51c47ecdf6c687b3aed8bee7d7711219d25 (patch) | |
tree | c08e2aa8ea8e07df188b48e7390891cc70a67c96 /examples/tools | |
parent | a4f421d4311e5c0d3ebf9154856d5ecb56af292e (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 'examples/tools')
0 files changed, 0 insertions, 0 deletions