src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   197         region = region.intersect(rect);
   197         region = region.intersect(rect);
   198     }
   198     }
   199 
   199 
   200     if (region.isEmpty()) {
   200     if (region.isEmpty()) {
   201         pvrQwsClearVisibleRegion(drawable);
   201         pvrQwsClearVisibleRegion(drawable);
   202     } else if (region.numRects() == 1) {
   202     } else if (region.rectCount() == 1) {
   203         QRect rect = region.boundingRect();
   203         QRect rect = region.boundingRect();
   204         PvrQwsRect pvrRect;
   204         PvrQwsRect pvrRect;
   205         pvrRect.x = rect.x();
   205         pvrRect.x = rect.x();
   206         pvrRect.y = rect.y();
   206         pvrRect.y = rect.y();
   207         pvrRect.width = rect.width();
   207         pvrRect.width = rect.width();