Fixed compile errors and added call to SDL_SetModuleHandle() in WinMain()
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40150
This commit is contained in:
parent
2aca7272f2
commit
8e41c23177
3 changed files with 20 additions and 11 deletions
|
@ -64,9 +64,9 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* This should be called from your WinMain() function, if any */
|
||||
extern DECLSPEC void SDL_SetModuleHandle(HMODULE hInst);
|
||||
extern DECLSPEC void SDL_SetModuleHandle(void *hInst);
|
||||
/* This can also be called, but is no longer necessary */
|
||||
extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, HMODULE hInst);
|
||||
extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, void *hInst);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue