SDL/src/video/windows
Sam Lantinga c85ea238ca Improved timing accuracy of SDL_WaitEventTimeout() on Windows
We don't need to use the hack of setting a timer and waiting for a timer message, MsgWaitForMultipleObjects() will allow us to wait for input directly with a timeout.

Before this change, sleeping for 20 ms would actually sleep for around 30 ms, with this change the sleep time is pretty accurate at 20-21 ms.

(cherry picked from commit 2670eb44af)
(cherry picked from commit 08caafe2f1)
2024-01-25 06:37:34 -08:00
..
SDL_msctf.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_vkeys.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsclipboard.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsclipboard.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsevents.c Improved timing accuracy of SDL_WaitEventTimeout() on Windows 2024-01-25 06:37:34 -08:00
SDL_windowsevents.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsframebuffer.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsframebuffer.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowskeyboard.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowskeyboard.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsmessagebox.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsmessagebox.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsmodes.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsmodes.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsmouse.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsmouse.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsopengl.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsopengl.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsopengles.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsopengles.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsshape.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsshape.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsvideo.c SDL_ShowMessageBox: Remove #ifdefs and respect SDL_VIDEO_DRIVER hint. 2024-01-22 19:46:23 -05:00
SDL_windowsvideo.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsvulkan.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowsvulkan.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowswindow.c Updated copyright for 2024 2024-01-01 13:19:49 -08:00
SDL_windowswindow.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00
wmmsg.h Updated copyright for 2024 2024-01-01 13:19:49 -08:00