Made it illegal/assert when io.DisplayTime == 0.0f (with an exception for the first frame).

Causing too many subtle side-effect, e.g. IsNavInputPressed() would return true multiple times in a row.
This commit is contained in:
omar
2019-02-14 17:14:29 +01:00
parent 2206df9e7a
commit 3c07ec6a61
2 changed files with 7 additions and 4 deletions

View File

@ -36,6 +36,8 @@ HOW TO UPDATE?
Breaking Changes:
- Removed io.DisplayVisibleMin/DisplayVisibleMax (which were marked obsolete and removed from viewport/docking branch already).
- Made it illegal/assert when io.DisplayTime == 0.0f (with an exception for the first frame).
If for some reason your time step calculation gives you a zero value, replace it with a dummy small value!
Other Changes:
- Added .editorconfig file for text editors to standardize using spaces. (#2038) [@kudaba]