diff options
| author | 2023-10-10 16:17:33 +0000 | |
|---|---|---|
| committer | 2023-10-10 16:17:33 +0000 | |
| commit | 92c579be7d9bb0d2eb39c75939c56fb81e4466ac (patch) | |
| tree | 92af5b739018d9145ea9a7421a38dba86f425bde /api/api_test.go | |
| parent | c7170612248a588ac508fa9c6a58cfec99d78c73 (diff) | |
Only apply pendingTransaction if hasPendingTransaction is true
The current code will attempt to apply pendingTransaction when a frame
didn't draw even if no one called applyTransactionOnDraw.
Add a check if mHasPendingTransaction to make sure we don't overapply.
Test: Build
Bug: 302404882
Change-Id: I2b5781d53586ec37df88d79d3ccaa680263ec941
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions