mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 09:06:29 -05:00
Applied David MacCormack's patch to fix SDL_WINDOWID on Windows,
and added a function to cache the application handle so DirectInput still works properly.
This commit is contained in:
@@ -64,7 +64,9 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/* This should be called from your WinMain() function, if any */
|
||||
extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, void *hInst);
|
||||
extern DECLSPEC void SDL_SetModuleHandle(HMODULE hInst);
|
||||
/* This can also be called, but is no longer necessary */
|
||||
extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, HMODULE hInst);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user