diff options
| author | 2024-10-29 15:57:24 +0100 | |
|---|---|---|
| committer | 2024-11-01 10:47:06 +0000 | |
| commit | bb561921105876e1be4a82cceb71a475e3fa1adf (patch) | |
| tree | 5c8156a0f68bdfb9a945bfca82f81965b3781446 /libs/gui/DisplayLuts.cpp | |
| parent | 3013feb2c32687e630d1f6ba71abd1f81ac9fdcb (diff) | |
Fix condition for waiting next frame
mNextFrameNumber is initiallized to 1. If we want to wait
for the first frame to be drawn, one would expect to call mSurface.waitForNextFrame(0 /* lastFrame */),
but since mNextFrameNumber is always greater then lastFrame, the method
never waits.
Test: N/A
Bug: 376248818
Bug: 376828703
Flag: EXEMPT bug fix
Change-Id: I8804479bad8102a441a95951ac27c1cc0711d7b0
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions