diff options
author | Berthold Krevert <berthold.krevert@basyskom.com> | 2015-02-04 10:18:36 +0100 |
---|---|---|
committer | Berthold Krevert <berthold.krevert@basyskom.com> | 2015-02-04 15:24:08 +0000 |
commit | 7d4bf1868d298a0bdc3f83ada6befb9ba4389cf5 (patch) | |
tree | ad9cab18ef3263f2e53e3acdf8bde6efb3d3ed96 /examples/quick/particles/itemparticle | |
parent | ec699494f537902e756ac317a5bbe52694cc4223 (diff) |
Use correct QOpenGLFunctions object
If core profile is used, QOpenGLContext::versionFunctions returns 0
if a legacy or a non-core profile version is requested.
That means, when using core profile we have to request a
QOpenGLFunctions_3_2_Core object (which is the lowest OpenGL
version that comes with profiles). Otherwise the application would
run into a segfault.
Change-Id: I8119e5fbeafccf14d59680617172c71e60e188ce
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'examples/quick/particles/itemparticle')
0 files changed, 0 insertions, 0 deletions