SDL_EventFilter functions now return SDL_bool

This commit is contained in:
Sam Lantinga committed 2024-08-06 07:59:45 -07:00
1 parent 57f9c6f7bb
commit 627cb8acd0
8 files changed
+20 -18

No files matched your search

+2
View File
@@ -379,6 +379,8 @@ SDL_AddEventWatch() now returns -1 if it fails because it ran out of memory and
SDL_RegisterEvents() now returns 0 if it couldn't allocate any user events.
SDL_EventFilter functions now return SDL_bool.
The following symbols have been renamed:
* SDL_APP_DIDENTERBACKGROUND => SDL_EVENT_DID_ENTER_BACKGROUND
* SDL_APP_DIDENTERFOREGROUND => SDL_EVENT_DID_ENTER_FOREGROUND