summaryrefslogtreecommitdiff
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
parent5ce5000b149e8df4151b758e42d0b39e1055b5e7 (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 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);