From 9b48c8e5b10d50ced86f2508e62c2f9013fcaea4 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 5 Sep 2024 12:15:04 -0700 Subject: [PATCH] Fix SDL3 interfaces --- ISLE/isleapp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index fcab82fb..3bec1857 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -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;