mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-02 04:07:42 +08:00
fix screen black blink,in swipewindow to finished
This commit is contained in:
parent
66ed2cddd3
commit
508978c854
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user