diff options
Diffstat (limited to 'backends/sdl')
| -rw-r--r-- | backends/sdl/sdl.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index 89352c7779..362f061a82 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -37,7 +37,8 @@ const char* stackCookie = "$STACK: 655360\0";  #if defined (WIN32)  int WinMain(HINSTANCE /*hInst*/, HINSTANCE /*hPrevInst*/,  LPSTR /*lpCmdLine*/, int /*iShowCmd*/) { -    return main(__argc, __argv); +	SDL_SetModuleHandle(GetModuleHandle(NULL)); +	return main(__argc, __argv);  }  #endif  | 
