events: Changed SDL_GetEventState from a macro to a function.

Fixes #6773.
This commit is contained in:
Ryan C. Gordon committed 2022-12-08 00:08:51 -05:00
1 parent 9a6bcca6b8
commit 7ca0d15d64
6 files changed
+31 -4

No files matched your search

+2
View File
@@ -56,6 +56,8 @@ The `timestamp_us` member of the sensor events has been renamed `sensor_timestam
You should set the `event.common.timestamp` field before passing an event to `SDL_PushEvent()`. If the timestamp is 0 it will be filled in with `SDL_GetTicksNS()`.
SDL_GetEventState used to be a macro, now it's a real function, but otherwise functions identically.
## SDL_gamecontroller.h