summaryrefslogtreecommitdiffstats
path: root/src/openvg
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-09-22 09:08:58 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-09-22 09:08:58 +1000
commitc3a61f2a5d85503df84a818a7c15ef7c644fb981 (patch)
tree41d6954e4fa1de6e7ef74fdbfefa412731782c46 /src/openvg
parent442564951e6ef8469f09c3e4a49288620db3a986 (diff)
Calculate scissor correctly in OpenVG engine
Reviewed-by: trustme
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 46abbea8f9..34f9cf8ff1 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.