summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>2009-11-09 11:38:17 (GMT)
committerMarius Storm-Olsen <marius.storm-olsen@nokia.com>2009-11-09 11:38:17 (GMT)
commite9a06e6f9765c9632103c86fe190e8154ce4a9f8 (patch)
treecc9fc9c931423674081b6ab843d22bc643a5df64 /src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp
parent00aeefeeaff4d8c3e25c6f388c5e51c239541f87 (diff)
parenta2a3adf7de2ffc9784fea177a43f3124862a992a (diff)
downloadQt-e9a06e6f9765c9632103c86fe190e8154ce4a9f8.zip
Qt-e9a06e6f9765c9632103c86fe190e8154ce4a9f8.tar.gz
Qt-e9a06e6f9765c9632103c86fe190e8154ce4a9f8.tar.bz2
Merge branch '4.6-api-review' into 4.6
Diffstat (limited to 'src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp')
-rw-r--r--src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp b/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp
index 4a3787f..51a6c4e 100644
--- a/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp
+++ b/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp
@@ -199,7 +199,7 @@ void PvrEglWindowSurface::setDirectRegion(const QRegion &r, int id)
if (region.isEmpty()) {
pvrQwsClearVisibleRegion(drawable);
- } else if (region.numRects() == 1) {
+ } else if (region.rectCount() == 1) {
QRect rect = region.boundingRect();
PvrQwsRect pvrRect;
pvrRect.x = rect.x();