Increment iterator on early-out too

Bug: 6860046
Change-Id: I82f9e4062cb58d5479c9d8dc5f2f0770a1dcc605
This commit is contained in:
Jesse Hall 2012-07-23 13:11:19 -07:00
parent 2654a36a44
commit 6ee93c0d36

View File

@ -1162,6 +1162,7 @@ void SurfaceFlinger::composeSurfaces(const DisplayHardware& hw, const Region& di
// guaranteed the FB is already cleared
layer->clearWithOpenGL(hw, clip);
}
++cur;
continue;
}
// render the layer