mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-18 21:31:16 +00:00
Fix SDL3 interfaces
This commit is contained in:
parent
318c46b881
commit
9b48c8e5b1
@ -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;
|
*appstate = NULL;
|
||||||
|
|
||||||
@ -279,7 +279,7 @@ int SDL_AppInit(void** appstate, int argc, char** argv)
|
|||||||
return SDL_APP_CONTINUE;
|
return SDL_APP_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
int SDL_AppIterate(void* appstate)
|
SDL_AppResult SDL_AppIterate(void* appstate)
|
||||||
{
|
{
|
||||||
if (g_closed) {
|
if (g_closed) {
|
||||||
return SDL_APP_SUCCESS;
|
return SDL_APP_SUCCESS;
|
||||||
@ -311,7 +311,7 @@ int SDL_AppIterate(void* appstate)
|
|||||||
return SDL_APP_CONTINUE;
|
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) {
|
if (!g_isle) {
|
||||||
return SDL_APP_CONTINUE;
|
return SDL_APP_CONTINUE;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user