diff --git a/examples/example.hpp b/examples/example.hpp index a766b6e9d9..2ca1e29d8e 100644 --- a/examples/example.hpp +++ b/examples/example.hpp @@ -527,7 +527,7 @@ class window void close() { - glfwSetWindowShouldClose(win, GLFW_TRUE); + glfwSetWindowShouldClose(win, 1); } float width() const { return float(_width); }