summaryrefslogtreecommitdiffstats
path: root/src/openvg
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2010-03-05 00:08:52 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2010-03-05 00:08:52 (GMT)
commit7f243aa938498837e32b318a38d81d9cca4b8fe0 (patch)
tree7d083efb05ba342382bd3b75c1b6db6a7bd86587 /src/openvg
parentc28a7828a28295d66d37cddca9d23a70f37f2c75 (diff)
downloadQt-7f243aa938498837e32b318a38d81d9cca4b8fe0.zip
Qt-7f243aa938498837e32b318a38d81d9cca4b8fe0.tar.gz
Qt-7f243aa938498837e32b318a38d81d9cca4b8fe0.tar.bz2
When using OpenVG alpha mask, turn off scissor-as-mask
Task-number: QT-3033 Reviewed-by: Julian de Bhal
Diffstat (limited to 'src/openvg')
-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 da47f06..c46bc27 100644
--- a/src/openvg/qpaintengine_vg.cpp
+++ b/src/openvg/qpaintengine_vg.cpp
@@ -2062,6 +2062,7 @@ void QVGPaintEngine::clip(const QPainterPath &path, Qt::ClipOperation op)
void QVGPaintEnginePrivate::ensureMask
(QVGPaintEngine *engine, int width, int height)
{
+ scissorMask = false;
if (maskIsSet) {
vgMask(VG_INVALID_HANDLE, VG_FILL_MASK, 0, 0, width, height);
maskRect = QRect();