NVIDIAGameWorks / FleX

Other
646 stars 99 forks source link

This can give negatives wait time correct ? Why not (endTime - beginTime) in this case ? #99

Open leothomas77 opened 4 years ago

leothomas77 commented 4 years ago

https://github.com/NVIDIAGameWorks/FleX/blob/78decdfaa99c1d51513683f4407ccfcbb7dfb128/demo/main.cpp#L2216

leothomas77 commented 4 years ago

I am using the meansures of time duration to adapt the main program and show in the screen the average FPS :). So usually the times intervals are (endTime - beginTime), and curiosly in the referenced line, computes (beginTime - endTime). Can be a mistake?