mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +00:00
SDL3: Fix inconsistent name for deleting GL context
This commit is contained in:
parent
39d2c7dbb4
commit
e8eb810c01
2 changed files with 8 additions and 0 deletions
|
@ -366,7 +366,11 @@ RI_ShutdownContext(void)
|
||||||
{
|
{
|
||||||
if(context)
|
if(context)
|
||||||
{
|
{
|
||||||
|
#ifdef USE_SDL3
|
||||||
SDL_GL_DestroyContext(context);
|
SDL_GL_DestroyContext(context);
|
||||||
|
#else
|
||||||
|
SDL_GL_DeleteContext(context);
|
||||||
|
#endif
|
||||||
context = NULL;
|
context = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -478,7 +478,11 @@ void GL3_ShutdownContext()
|
||||||
{
|
{
|
||||||
if(context)
|
if(context)
|
||||||
{
|
{
|
||||||
|
#ifdef USE_SDL3
|
||||||
SDL_GL_DestroyContext(context);
|
SDL_GL_DestroyContext(context);
|
||||||
|
#else
|
||||||
|
SDL_GL_DeleteContext(context);
|
||||||
|
#endif
|
||||||
context = NULL;
|
context = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue