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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401148
This commit is contained in:
Ryan C. Gordon 2005-09-27 09:00:42 +00:00
parent c8157c1d15
commit 7791c73962
4 changed files with 27 additions and 9 deletions

View file

@ -69,7 +69,8 @@ extern "C" {
extern DECLSPEC void SDLCALL SDL_SetModuleHandle(void *hInst);
/* This can also be called, but is no longer necessary */
extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst);
/* This can also be called, but is no longer necessary (SDL_Quit calls it) */
extern DECLSPEC void SDLCALL SDL_UnregisterApp();
#ifdef __cplusplus
}
#endif