Merge "Update SurfaceControl buffer size when increasing pointer size" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ca15bb8468
@@ -153,8 +153,7 @@ void SpriteController::doUpdateSprites() {
|
||||
|| update.state.surfaceHeight < desiredHeight) {
|
||||
needApplyTransaction = true;
|
||||
|
||||
t.setSize(update.state.surfaceControl,
|
||||
desiredWidth, desiredHeight);
|
||||
update.state.surfaceControl->updateDefaultBufferSize(desiredWidth, desiredHeight);
|
||||
update.state.surfaceWidth = desiredWidth;
|
||||
update.state.surfaceHeight = desiredHeight;
|
||||
update.state.surfaceDrawn = false;
|
||||
|
||||
Reference in New Issue
Block a user