Commit 0a1fb7e
cube: Fix GOOGLE_display_timing desired-present-time calibration.
as the name says, we're calculating what the previous present's
desired time should have been, which will have IPD added for the
next_present_id's presentation. So for example, if we are processing
the last presented frame's actualPresentTime, our multiple should be
0, not 1.
Now the demo properly locks to 60fps for a 1.0 IPD on my 60Hz display.1 parent 5e57c8f commit 0a1fb7e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1144 | 1144 | | |
1145 | 1145 | | |
1146 | 1146 | | |
1147 | | - | |
| 1147 | + | |
1148 | 1148 | | |
1149 | 1149 | | |
1150 | 1150 | | |
| |||
0 commit comments