diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-09-11 08:53:39 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-09-11 10:02:32 (GMT) |
commit | 47d6e83659f23de6bf4d0a37cb30c325dcacefc1 (patch) | |
tree | 20da1832e85f94033b6228f2ab1478b4159dcf95 /doc/src/snippets/code | |
parent | e59d4e9f0b147409a8a2732ee3f29f8e7768349a (diff) | |
download | Qt-47d6e83659f23de6bf4d0a37cb30c325dcacefc1.zip Qt-47d6e83659f23de6bf4d0a37cb30c325dcacefc1.tar.gz Qt-47d6e83659f23de6bf4d0a37cb30c325dcacefc1.tar.bz2 |
Fixed clipping bugs in GL2 graphics system with oxygen style.
QGL2PaintEngineEx::clip() needs to call ensureActive() to make sure the
engine is active and synced before doing any clipping operations. We
also need to set needsSync to false before entering setState() since
otherwise we end up in an infinite loop in the case where
replayClipOperations() again calls QGL2PaintEngineEx::clip().
Reviewed-by: Tom
Diffstat (limited to 'doc/src/snippets/code')
0 files changed, 0 insertions, 0 deletions