summaryrefslogtreecommitdiff
path: root/src/skel/glfw
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-04 16:00:41 +0300
committereray orçunus <erayorcunus@gmail.com>2020-07-04 16:01:07 +0300
commit1cea84d2b1673bfd86e1698c27c381e1488c77cf (patch)
tree41fcb374c97437d25261ffbf3e430313997f13ef /src/skel/glfw
parentaddb7016387b62c600cce3490b019d16b387d833 (diff)
Remove console and fix sth
Diffstat (limited to 'src/skel/glfw')
-rw-r--r--src/skel/glfw/glfw.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp
index 5e0c178c..21aace7a 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -1367,11 +1367,14 @@ WinMain(HINSTANCE instance,
RwChar** argv;
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
+#if 0
// TODO: make this an option somewhere
AllocConsole();
freopen("CONIN$", "r", stdin);
freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);
+#endif
+
#else
int
main(int argc, char *argv[])