Skip to content
Permalink
Browse files

Patch from Martin Lange (mala-sdl at hotmail.com) to unregister SDL's…

… win32

 windowclass when shutting down the video subsystem...this allows you to
 safely unload/reload the SDL shared library on Windows between
 initializations.

Discussion is here:
   http://www.devolution.com/pipermail/sdl/2005-February/067424.html
  • Loading branch information
icculus committed Sep 27, 2005
1 parent 6c3a0b5 commit bfb885a0d94eacfedc044a1bd4a47446d9f41a72

File 3 of 4 in bfb885a

@@ -971,6 +971,7 @@ void DIB_VideoQuit(_THIS)
}
DIB_QuitGamma(this);
DIB_DestroyWindow(this);
SDL_UnregisterApp();
FlushMessageQueue();

SDL_Window = NULL;

0 comments on commit bfb885a

Please sign in to comment.