Use the current context to resolve extensions.
authorGunnar Sletta <gunnar.sletta@jollamobile.com>
Wed, 30 Jul 2014 14:31:36 +0000 (16:31 +0200)
committerGunnar Sletta <gunnar.sletta@jollamobile.com>
Fri, 1 Aug 2014 21:16:04 +0000 (23:16 +0200)
commitba193b94c6822ba382e2dc69cae60c6833f5cc9d
treebcfb7078c0d076e66644a93938401259420d2960
parentd676b0ec019a34b639a11ab224f226e678f272ce
Use the current context to resolve extensions.

When updating the code to not use direct gl calls, this
code was changed to use the context's gl context. The
context doesn't have a context when the rendering happens
on the same thread as the scene graph rendering and
we get a crash.

Change-Id: I8adf62c0ed12bb055982a71ba59af76afeefcca1
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
src/quick/items/context2d/qquickcontext2dtexture.cpp