aboutsummaryrefslogtreecommitdiffstats
path: root/src/skel/glfw
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-15 14:24:07 +0100
committerwithmorten <morten.with@gmail.com>2021-02-15 14:24:07 +0100
commita826091dc920bc521a948f74e75ebd63ab78e976 (patch)
treec358cadb9f9147a9a84403b3b90f06ec8192a383 /src/skel/glfw
parenta3eae736e71854617b0d0ac2c0f78ce9f2be1c8e (diff)
always console for windows Debug builds
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 baed9000..3a958f1a 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -1476,7 +1476,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);