aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/sys/sys_win32.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/sys/sys_win32.c b/code/sys/sys_win32.c
index b3d2167..5f6b73f 100644
--- a/code/sys/sys_win32.c
+++ b/code/sys/sys_win32.c
@@ -650,5 +650,8 @@ void Sys_PlatformInit( void )
}
else
SDL_VIDEODRIVER_externallySet = qfalse;
+
+ // Don't redirect to stdout.txt and stderr.txt
+ _putenv( "SDL_STDIO_REDIRECT=0" );
#endif
}