update SDL3 codepaths to work with 3.1.

This commit is contained in:
Sasha Szpakowski
2024-10-06 16:53:09 -03:00
parent e1494d4ad2
commit dda7603d0d
14 changed files with 283 additions and 52 deletions
@@ -934,7 +934,11 @@ int extloader(lua_State *L)
}
}
#if SDL_VERSION_ATLEAST(3, 0, 0)
SDL_SharedObject *handle = nullptr;
#else
void *handle = nullptr;
#endif
auto *inst = instance();
#ifdef LOVE_ANDROID