diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-09-14 14:36:10 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-09-14 14:37:57 (GMT) |
commit | 488d28d1160cbd26d8728492c72217a39d87eb56 (patch) | |
tree | dce0a571a9a1f086aa5e6a68a8df502550ac5698 /src | |
parent | 332ed8a32fa25a12f5316bb0420284c0e3e6fe43 (diff) | |
download | Qt-488d28d1160cbd26d8728492c72217a39d87eb56.zip Qt-488d28d1160cbd26d8728492c72217a39d87eb56.tar.gz Qt-488d28d1160cbd26d8728492c72217a39d87eb56.tar.bz2 |
Really fixed clipping bug in portedcanvas with -graphicssystem opengl.
Change c72eaee91136bbe1a9fa99cdb0a7593bec60264b was wrong, we should
call ensureActive(), not syncState().
Task-number: 261113
Reviewed-by: Trond
Diffstat (limited to 'src')
-rw-r--r-- | src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp index 9386044..5e790cf 100644 --- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp +++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp @@ -1722,7 +1722,7 @@ QPainterState *QGL2PaintEngineEx::createState(QPainterState *orig) const Q_D(const QGL2PaintEngineEx); if (orig) - const_cast<QGL2PaintEngineEx *>(this)->syncState(); + const_cast<QGL2PaintEngineEx *>(this)->ensureActive(); QOpenGL2PaintEngineState *s; if (!orig) |