SDL3: Fix inconsistent name for deleting GL context

This commit is contained in:
erysdren 2024-10-05 17:00:31 -05:00 committed by Yamagi
parent 39d2c7dbb4
commit e8eb810c01
2 changed files with 8 additions and 0 deletions

View file

@ -366,7 +366,11 @@ RI_ShutdownContext(void)
{
if(context)
{
#ifdef USE_SDL3
SDL_GL_DestroyContext(context);
#else
SDL_GL_DeleteContext(context);
#endif
context = NULL;
}
}

View file

@ -478,7 +478,11 @@ void GL3_ShutdownContext()
{
if(context)
{
#ifdef USE_SDL3
SDL_GL_DestroyContext(context);
#else
SDL_GL_DeleteContext(context);
#endif
context = NULL;
}
}