Skip to content
Commit 40986e3d authored by Ady Abraham's avatar Ady Abraham
Browse files

DisplayModeDirector: fix an arithmetic error

Add a float tolerance when calculating the divisor of a refresh rate.
This is needed for example when the display refresh rate is 120.0001 and
the max render frame rate is 120.00.

Test: atest DisplayModeDirectorTest
Bug: 266123304
Change-Id: Ic0c2c81612aaebded9fbeb47771a0a35e5e66212
parent 796c571a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment