Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/platform/glfwMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// add enet in the target_link_libraries list at the end
//#include <enet/enet.h>

#define WINDOW_NAME "geam"

#include <glad/glad.h>
#include <GLFW/glfw3.h>
Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -703,4 +704,4 @@ int main()
//if you want the console to stay after closing the window
//std::cin.clear();
//std::cin.get();
}
}