aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--smelt/sdl/sys_sdl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/smelt/sdl/sys_sdl.cpp b/smelt/sdl/sys_sdl.cpp
index b33d71b..5641f31 100644
--- a/smelt/sdl/sys_sdl.cpp
+++ b/smelt/sdl/sys_sdl.cpp
@@ -144,7 +144,7 @@ void SMELT_IMPL::smFinale()
{
smLog("%s:" SLINE ": Cleaning up...\n",SYS_SDL_SRCFN);
clearQueue();finiOAL();finiOGL();
- SDL_Quit();hwnd=0;
+ SDL_GL_UnloadLibrary();SDL_Quit();hwnd=0;
}
void SMELT_IMPL::smMainLoop()