mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-21 14:15:34 +01:00
IrrlichtMt: Initial SDL3 support (#16583)
This commit implements support for SDL3, more specifically, >= 3.2.0 (the first released version). Almost all changes were made according to https://github.com/libsdl-org/SDL/blob/release-3.2.10/docs/README-migration.md?plain=1 and the suggestions provided by `SDL3/SDL_oldnames.h`.
This commit is contained in:
@@ -33,7 +33,7 @@ bool CSDLManager::activateContext(const SExposedVideoData &videoData, bool resto
|
||||
|
||||
void *CSDLManager::getProcAddress(const std::string &procName)
|
||||
{
|
||||
return SDL_GL_GetProcAddress(procName.c_str());
|
||||
return (void *)SDL_GL_GetProcAddress(procName.c_str());
|
||||
}
|
||||
|
||||
bool CSDLManager::swapBuffers()
|
||||
|
||||
Reference in New Issue
Block a user