summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglframebufferobject.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2014-07-30 13:17:26 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-07-30 20:01:52 +0200
commit0437e1cef6aa2ed27362fc5c7c8df6609f13c9ee (patch)
treed013d12199293d06e3dff95c98eb37850fe0be81 /src/gui/opengl/qopenglframebufferobject.cpp
parent12867bb8e2bf56e9397ee6b6014e176fdab6e86f (diff)
Use runtime check instead of ifdef to detect ES3 in QVertexArrayObjectHelper
The code path in QOpenGLVertexArrayObjectPrivate::create() that triggers the creation of a QVertexArrayObjectHelper is guarded by runtime checks for ES3 or the GL_OES_vertex_array_object extension, but the actual function lookup was ifdef'ed, which broke on iOS where the SDK may support ES3, but an older (supported) runtime target might not. Change-Id: Id578667c1f5aebf53e197f3a79eb2f9273fea487 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/gui/opengl/qopenglframebufferobject.cpp')
0 files changed, 0 insertions, 0 deletions