summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-15 14:58:19 +0100
committerwithmorten <morten.with@gmail.com>2021-02-15 14:58:19 +0100
commita58d76d27dc3f9fc8c6de6cf0cbbf9f957391d52 (patch)
treede7f34a1a0a18cbcb390d52d7d84e959b5e9413f /src
parentalways console for windows Debug builds (diff)
downloadre3-a58d76d27dc3f9fc8c6de6cf0cbbf9f957391d52.tar
re3-a58d76d27dc3f9fc8c6de6cf0cbbf9f957391d52.tar.gz
re3-a58d76d27dc3f9fc8c6de6cf0cbbf9f957391d52.tar.bz2
re3-a58d76d27dc3f9fc8c6de6cf0cbbf9f957391d52.tar.lz
re3-a58d76d27dc3f9fc8c6de6cf0cbbf9f957391d52.tar.xz
re3-a58d76d27dc3f9fc8c6de6cf0cbbf9f957391d52.tar.zst
re3-a58d76d27dc3f9fc8c6de6cf0cbbf9f957391d52.zip
Diffstat (limited to 'src')
-rw-r--r--src/skel/glfw/glfw.cpp2
-rw-r--r--src/skel/win/win.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp
index 941a2a7b..ce8da817 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -1508,9 +1508,7 @@ WinMain(HINSTANCE instance,
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
#ifndef MASTER
-#ifndef DEBUG
if (strstr(cmdLine, "-console"))
-#endif
{
AllocConsole();
freopen("CONIN$", "r", stdin);
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index 5cbc9ba0..89c901b2 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -2019,9 +2019,7 @@ WinMain(HINSTANCE instance,
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
#ifndef MASTER
-#ifndef DEBUG
if (strstr(cmdLine, "-console"))
-#endif
{
AllocConsole();
freopen("CONIN$", "r", stdin);