diff options
| author | Liam Middlebrook <lmiddlebrook@nvidia.com> | 2018-05-03 15:52:32 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2018-05-04 08:29:14 -0600 |
| commit | 881fe3904f99b06941676a2dfd2a7ca50dc9a3ef (patch) | |
| tree | af24f52dba07c45c48c4484df1d669ea9b722c9e /scripts | |
| parent | 9cfe0e6092f46852ee9bb912676b97054453314b (diff) | |
| download | usermoji-881fe3904f99b06941676a2dfd2a7ca50dc9a3ef.tar.xz | |
demos: Fix cube ActualTimeLate function
The ActualTimeLate function in cube.c is supposed to check if a
VkPastPresentationTimingGOOGLE structure indicates that the
presentation happened within a refresh-cycle duration of the
desired presentation time.
However currently ActualTimeLate will always return false, because
it is calculating the presentation deadline as `actual + rdur`.
This change calculated the presentation deadline as
`desired + rdur`.
Reviewed-by: Andy Ritger <aritger@nvidia.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
