From d8325b376b1a229341d84bcfc31acffe83f3c1d2 Mon Sep 17 00:00:00 2001 From: ShadowDara <128976697+ShadowDara@users.noreply.github.com> Date: Sat, 3 Jan 2026 16:46:10 +0100 Subject: [PATCH] added WindowName Preprossesor, so you change it directly at the top of the File --- src/platform/glfwMain.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/platform/glfwMain.cpp b/src/platform/glfwMain.cpp index ff3b505..257008b 100644 --- a/src/platform/glfwMain.cpp +++ b/src/platform/glfwMain.cpp @@ -4,6 +4,7 @@ // add enet in the target_link_libraries list at the end //#include +#define WINDOW_NAME "geam" #include #include @@ -438,7 +439,7 @@ int main() int w = 500; int h = 500; - wind = glfwCreateWindow(w, h, "geam", nullptr, nullptr); + wind = glfwCreateWindow(w, h, WINDOW_NAME, nullptr, nullptr); glfwMakeContextCurrent(wind); glfwSwapInterval(1); @@ -703,4 +704,4 @@ int main() //if you want the console to stay after closing the window //std::cin.clear(); //std::cin.get(); -} \ No newline at end of file +}