diff options
| author | 2022-02-11 07:25:43 +0000 | |
|---|---|---|
| committer | 2022-02-11 07:25:43 +0000 | |
| commit | 5ad6db77423479d027abb791ad3c02da39513a2c (patch) | |
| tree | dc6795e28a87f950bed7f5ce2bc483eb693c0907 /libs/input/SpriteController.cpp | |
| parent | 2fc6632ea61d3186dfd66dc3303ad2258c37c572 (diff) | |
| parent | 9efe853815ac78d1c4b5639686b8e41778b8d9ae (diff) | |
Merge sc-v2-dev-plus-aosp-without-vendor@8084891
Bug: 214455710
Merged-In: I8cfa435bb6233818adb9cc99dadeeb06a03443d5
Change-Id: Ib93992d88fd1704179009a3872798b9e7b83a6d1
Diffstat (limited to 'libs/input/SpriteController.cpp')
| -rw-r--r-- | libs/input/SpriteController.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/input/SpriteController.cpp b/libs/input/SpriteController.cpp index acd8bced0612..d10e68816d28 100644 --- a/libs/input/SpriteController.cpp +++ b/libs/input/SpriteController.cpp @@ -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; |