Commit 9ab2cd2d authored by Andy Nichols's avatar Andy Nichols
Browse files

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: default avataraavit <eirik.aavitsland@digia.com>
Reviewed-by: default avatarGunnar Sletta <gunnar@sletta.org>
parent f0833861
Showing with 4 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment