aboutsummaryrefslogtreecommitdiffstats
path: root/src/particles
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2014-10-14 15:14:13 +0200
committerAndy Nichols <andy.nichols@digia.com>2014-10-21 12:11:23 +0200
commit9ab2cd2d888705dcc4d103f7782b6df64d9b6d03 (patch)
tree8529f574f19e8d8767667186d49a6af74f94907e /src/particles
parentf08338614578db9d98d7496b2a338d0e2dddc1bb (diff)
QQuickSpriteEngine do not use OpenGL without checking for GLContext
In the case that QQuickSpriteEngine::assembledImage() is called when there is no current OpenGL context, return a null QImage instead of crashing. This is needed for the Qt Quick 2d Renderer case. Change-Id: I75b9b1f31f05cc0800293435d660e498fecc4d20 Reviewed-by: aavit <eirik.aavitsland@digia.com> Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/particles')
0 files changed, 0 insertions, 0 deletions