summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2011-03-10 15:50:12 (GMT)
committerJani Hautakangas <jani.hautakangas@nokia.com>2011-03-10 21:59:52 (GMT)
commit2ecb0ea77c04424f6f557ca8a13c1d86666763df (patch)
tree27289965f59705d1b06eb0db9c014e801dda9048 /src
parent98a4ec8358c6da17c8dd77c504a7e4d76e8c612a (diff)
downloadQt-2ecb0ea77c04424f6f557ca8a13c1d86666763df.zip
Qt-2ecb0ea77c04424f6f557ca8a13c1d86666763df.tar.gz
Qt-2ecb0ea77c04424f6f557ca8a13c1d86666763df.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
Diffstat (limited to 'src')
-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 f1b3277..3d50558 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);