mirror of
https://github.com/glfw/glfw.git
synced 2026-08-29 03:04:14 +02:00
Replace GL booleans with public macros
This commit is contained in:
@@ -875,7 +875,7 @@ static void key_callback(GLFWwindow* window, int key, int scancode, int action,
|
||||
switch (key)
|
||||
{
|
||||
case GLFW_KEY_ESCAPE:
|
||||
glfwSetWindowShouldClose(window, GL_TRUE);
|
||||
glfwSetWindowShouldClose(window, GLFW_TRUE);
|
||||
break;
|
||||
case GLFW_KEY_W:
|
||||
wireframe = !wireframe;
|
||||
|
||||
Reference in New Issue
Block a user