diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-21 23:08:58 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-21 23:08:58 (GMT) |
commit | c3a61f2a5d85503df84a818a7c15ef7c644fb981 (patch) | |
tree | 41d6954e4fa1de6e7ef74fdbfefa412731782c46 | |
parent | 442564951e6ef8469f09c3e4a49288620db3a986 (diff) | |
download | Qt-c3a61f2a5d85503df84a818a7c15ef7c644fb981.zip Qt-c3a61f2a5d85503df84a818a7c15ef7c644fb981.tar.gz Qt-c3a61f2a5d85503df84a818a7c15ef7c644fb981.tar.bz2 |
Calculate scissor correctly in OpenVG engine
Reviewed-by: trustme
-rw-r--r-- | src/openvg/qpaintengine_vg.cpp | 2 |
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. |