summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2023-01-26 13:36:28 -0800
committer Ady Abraham <adyabr@google.com> 2023-01-26 13:41:16 -0800
commit40986e3dc28f1d1ddd42dea3e582872ed3c95fa4 (patch)
treec1bd13db96ac41a38d4c0e7f06e8350b5ae077cd /libs/input/PointerController.cpp
parent796c571acc4c422f8f080d7bfce3cf43085774c8 (diff)
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions