| 450 | } |
| 451 | |
| 452 | GLFWAPI int glfwWindowShouldClose(GLFWwindow* handle) |
| 453 | { |
| 454 | _GLFWwindow* window = (_GLFWwindow*) handle; |
| 455 | assert(window != NULL); |
| 456 | |
| 457 | _GLFW_REQUIRE_INIT_OR_RETURN(0); |
| 458 | return window->shouldClose; |
| 459 | } |
| 460 | |
| 461 | GLFWAPI void glfwSetWindowShouldClose(GLFWwindow* handle, int value) |
| 462 | { |