mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Renamed window close request variable.
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
|
||||
- (BOOL)windowShouldClose:(id)sender
|
||||
{
|
||||
window->closed = GL_TRUE;
|
||||
window->closeRequested = GL_TRUE;
|
||||
|
||||
return NO;
|
||||
}
|
||||
@@ -113,7 +113,7 @@
|
||||
_GLFWwindow* window;
|
||||
|
||||
for (window = _glfwLibrary.windowListHead; window; window = window->next)
|
||||
window->closed = GL_TRUE;
|
||||
window->closeRequested = GL_TRUE;
|
||||
|
||||
return NSTerminateCancel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user