Do not call WINAPI_AttachConsole() twice (in src/video/sdl.cpp too)
This commit is contained in:
parent
f7fca8b2a4
commit
000e9a7a09
1 changed files with 0 additions and 7 deletions
|
@ -71,10 +71,6 @@
|
|||
#include "SDL_syswm.h"
|
||||
#endif
|
||||
|
||||
#if defined(USE_WIN32) && defined(NO_STDIO_REDIRECT)
|
||||
#include "attachconsole.h"
|
||||
#endif
|
||||
|
||||
#ifdef USE_MAEMO
|
||||
#include <libosso.h>
|
||||
#endif
|
||||
|
@ -499,9 +495,6 @@ void InitVideoSdl(void)
|
|||
#endif
|
||||
SDL_INIT_AUDIO | SDL_INIT_VIDEO |
|
||||
SDL_INIT_TIMER);
|
||||
#if defined(USE_WIN32) && defined(NO_STDIO_REDIRECT)
|
||||
WINAPI_AttachConsole();
|
||||
#endif
|
||||
if ( res < 0 ) {
|
||||
fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError());
|
||||
exit(1);
|
||||
|
|
Loading…
Add table
Reference in a new issue