Fix SDL3 interfaces

This commit is contained in:
Christian Semmler 2024-09-05 12:15:04 -07:00
parent 318c46b881
commit 9b48c8e5b1
No known key found for this signature in database
GPG key ID: 086DAA1360BEEE5C

View file

@ -232,7 +232,7 @@ void IsleApp::SetupVideoFlags(
}
}
int SDL_AppInit(void** appstate, int argc, char** argv)
SDL_AppResult SDL_AppInit(void** appstate, int argc, char** argv)
{
*appstate = NULL;
@ -279,7 +279,7 @@ int SDL_AppInit(void** appstate, int argc, char** argv)
return SDL_APP_CONTINUE;
}
int SDL_AppIterate(void* appstate)
SDL_AppResult SDL_AppIterate(void* appstate)
{
if (g_closed) {
return SDL_APP_SUCCESS;
@ -311,7 +311,7 @@ int SDL_AppIterate(void* appstate)
return SDL_APP_CONTINUE;
}
int SDL_AppEvent(void* appstate, const SDL_Event* event)
SDL_AppResult SDL_AppEvent(void* appstate, SDL_Event* event)
{
if (!g_isle) {
return SDL_APP_CONTINUE;