diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-09-10 13:56:11 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-09-10 14:06:58 (GMT) |
commit | a21b661384c31e6c9154a99690b2d134a12b9187 (patch) | |
tree | 6bf37bcdda9f15f16cec716c8fdaca4e85e3f3a7 /src/corelib | |
parent | 56ac253d0668c5ea9227a07699c31beb2b8034a1 (diff) | |
download | Qt-a21b661384c31e6c9154a99690b2d134a12b9187.zip Qt-a21b661384c31e6c9154a99690b2d134a12b9187.tar.gz Qt-a21b661384c31e6c9154a99690b2d134a12b9187.tar.bz2 |
Re-order begin() so everything needing a current context has one
It should be up to QGLPaintDevice::beginPaint() to make the correct
context current, so everything needing a current context needs to be
moved after that call.
This patch also modifies QGLPixmapData to use QGLContext::drawTexture
rather than the GL2 PE's drawTexture, which shouldn't be called inside
beginPaint as the paint engine hasn't been fully initialised yet.
Reviewed-by: Eskil
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions