godot/platform/uwp
lawnjelly db9fa88160 Fix overflow condition with QueryPerformanceCounter
The previous code for OS_Windows::get_ticks_usec() multiplied the tick count by 1000000 before dividing by ticks_per_second. The ticks is counted in a 64 bit integer and is susceptible to overflow when a machine has been running for a long period of time (days) with a high frequency timer.

This PR separates the overall calculation into one for seconds and one for the remainder, removing the possibility of overflow due to the multiplier.
2020-05-22 12:46:35 +01:00
..
export Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
app.cpp Rename scancode to keycode. 2020-02-25 12:30:33 +02:00
app.h Remove obsolete GLES3 backend 2020-02-13 10:36:44 +01:00
context_egl_uwp.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
context_egl_uwp.h Remove obsolete GLES3 backend 2020-02-13 10:36:44 +01:00
detect.py
joypad_uwp.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
joypad_uwp.h Refactored input, goes all via windows now. 2020-03-26 15:49:39 +01:00
logo.png
os_uwp.cpp Fix overflow condition with QueryPerformanceCounter 2020-05-22 12:46:35 +01:00
os_uwp.h Refactored input, goes all via windows now. 2020-03-26 15:49:39 +01:00
platform_config.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub Remove incomplete battery status/power API 2020-02-14 13:43:32 +01:00
thread_uwp.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
thread_uwp.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00