diff options
| author | Berthold Krevert <berthold.krevert@basyskom.com> | 2014-05-21 14:23:30 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-05-22 14:43:06 +0200 |
| commit | 00470662e3ec296cd0619e1a5a71aebcb32d9a8a (patch) | |
| tree | 7c96c5e7dcf21147c263edd3490a1a9ec767fb14 /src/gui/opengl/qopenglversionfunctions.cpp | |
| parent | 2064bf6155fda203fe798166e40be9247a20da85 (diff) | |
Fix a crash when using QtQuickControls with core profile
QOpenGLContext::versionFunctions returns 0, if a QOpenGLFunctions object
for a legacy OpenGL version is requested while using the core profile.
This leads to a crash QOpenGLContextPrivate::maxTextureSize()
Change-Id: I32845643094336cebcc666806a411524fe3e869b
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/gui/opengl/qopenglversionfunctions.cpp')
0 files changed, 0 insertions, 0 deletions
