fix screen black blink,in swipewindow to finished

This commit is contained in:
houzh 2022-03-06 14:39:09 +00:00
parent 66ed2cddd3
commit 508978c854

View File

@ -177,6 +177,7 @@ void GraphDevice::composeSurfaces(){
}
for(int i=0;i<mInvalidateRgn->get_num_rectangles();i++){
RectangleInt r=mInvalidateRgn->get_rectangle(i);
if((r.x+r.width<=0)||(r.y+r.height<=0))continue;
GFXFillRect(primarySurface,(const GFXRect*)&r,0);
LOGV("%d:(%d,%d,%d,%d)",i,r.x,r.y,r.width,r.height);
}