summaryrefslogtreecommitdiffstats
path: root/src/openvg
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvg')
-rw-r--r--src/openvg/qpaintengine_vg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp
index 46abbea..34f9cf8 100644
--- a/src/openvg/qpaintengine_vg.cpp
+++ b/src/openvg/qpaintengine_vg.cpp
@@ -2092,7 +2092,7 @@ void QVGPaintEngine::updateScissor()
if (region.isEmpty())
region = d->maskRect;
else
- region.intersect(d->maskRect);
+ region = region.intersect(d->maskRect);
if (isDefaultClipRegion(region)) {
// The scissor region is the entire drawing surface,
// so there is no point doing any scissoring.