mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-25 22:10:59 +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)
|
||||
{
|
||||
#ifdef USE_SDL3
|
||||
SDL_GL_DestroyContext(context);
|
||||
#else
|
||||
SDL_GL_DeleteContext(context);
|
||||
#endif
|
||||
context = NULL;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -478,7 +478,11 @@ void GL3_ShutdownContext()
|
|||
{
|
||||
if(context)
|
||||
{
|
||||
#ifdef USE_SDL3
|
||||
SDL_GL_DestroyContext(context);
|
||||
#else
|
||||
SDL_GL_DeleteContext(context);
|
||||
#endif
|
||||
context = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue