mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-15 03:24:59 -05:00
Fix SDL3 interfaces
This commit is contained in:
parent
318c46b881
commit
9b48c8e5b1
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue