Check for a current QOpenGLContext before use
authorAndy Nichols <andy.nichols@digia.com>
Thu, 11 Sep 2014 10:23:37 +0000 (12:23 +0200)
committerAndy Nichols <andy.nichols@digia.com>
Thu, 11 Sep 2014 10:58:28 +0000 (12:58 +0200)
commite471398395508ce156bf9a287920393f838f2b22
tree78af72e6eaadee4ce876a16f503014fe66dd9e56
parent7ddb567f7cced8beed147c42b8c79fc017d260ee
Check for a current QOpenGLContext before use

We can not assume that there will be a current OpenGL
context to use in QQuickImageParticle so now there is
a check before we make a call to the current context.

Change-Id: I0c77895d0b0f1afdf4853c0486fba0ef9a7b883d
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/particles/qquickimageparticle.cpp