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 1 of 4 in bfb885a

@@ -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

0 comments on commit bfb885a

Please sign in to comment.