summaryrefslogtreecommitdiffstats
path: root/src/skel/glfw
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-15 14:27:35 +0100
committerwithmorten <morten.with@gmail.com>2021-02-15 14:27:35 +0100
commita76c962aa348479ddb5a4d30472183239ddb9285 (patch)
tree6e67d4b2ca834e083d89fee19909d33a1d91eb66 /src/skel/glfw
parentTry to fix streams stop after a while 2 (diff)
downloadre3-a76c962aa348479ddb5a4d30472183239ddb9285.tar
re3-a76c962aa348479ddb5a4d30472183239ddb9285.tar.gz
re3-a76c962aa348479ddb5a4d30472183239ddb9285.tar.bz2
re3-a76c962aa348479ddb5a4d30472183239ddb9285.tar.lz
re3-a76c962aa348479ddb5a4d30472183239ddb9285.tar.xz
re3-a76c962aa348479ddb5a4d30472183239ddb9285.tar.zst
re3-a76c962aa348479ddb5a4d30472183239ddb9285.zip
Diffstat (limited to 'src/skel/glfw')
-rw-r--r--src/skel/glfw/glfw.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp
index ce8da817..941a2a7b 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -1508,7 +1508,9 @@ WinMain(HINSTANCE instance,
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
#ifndef MASTER
+#ifndef DEBUG
if (strstr(cmdLine, "-console"))
+#endif
{
AllocConsole();
freopen("CONIN$", "r", stdin);