summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2011-03-10 15:50:12 (GMT)
committerTimo Turunen <timo.p.turunen@nokia.com>2011-03-11 06:37:01 (GMT)
commit0e32d0575aa92b6d92999fa661d36fd40c1fee66 (patch)
tree855573d857caf7e646fe9cb0bfd3b96686229efb
parent19d11751da73fded31605bb80f70642faf4095c5 (diff)
downloadQt-0e32d0575aa92b6d92999fa661d36fd40c1fee66.zip
Qt-0e32d0575aa92b6d92999fa661d36fd40c1fee66.tar.gz
Qt-0e32d0575aa92b6d92999fa661d36fd40c1fee66.tar.bz2
Fix for major regression in OpenVG clipping
OpenVG paint engine didn't reset it's mask fallback state correctly when engine was resetted. Task-number: QTBUG-17966 Reviewed-by: Jason Barron (cherry picked from commit 2ecb0ea77c04424f6f557ca8a13c1d86666763df)
-rw-r--r--src/openvg/qpaintengine_vg.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp
index c2a4c9b..ec2936e 100644
--- a/src/openvg/qpaintengine_vg.cpp
+++ b/src/openvg/qpaintengine_vg.cpp
@@ -2333,6 +2333,7 @@ bool QVGPaintEngine::isDefaultClipRect(const QRect& rect)
void QVGPaintEngine::clipEnabledChanged()
{
#if defined(QVG_SCISSOR_CLIP)
+ vgSeti(VG_MASKING, VG_FALSE); // disable mask fallback
updateScissor();
#else
Q_D(QVGPaintEngine);