mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Removed return value of close callback.
This commit is contained in:
+3
-3
@@ -126,10 +126,10 @@ void _glfwInputWindowDamage(_GLFWwindow* window)
|
||||
|
||||
void _glfwInputWindowCloseRequest(_GLFWwindow* window)
|
||||
{
|
||||
window->closed = GL_TRUE;
|
||||
|
||||
if (window->callbacks.close)
|
||||
window->closed = window->callbacks.close((GLFWwindow*) window);
|
||||
else
|
||||
window->closed = GL_TRUE;
|
||||
window->callbacks.close((GLFWwindow*) window);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user