Renamed window close request variable.

This commit is contained in:
Camilla Berglund
2010-09-16 06:02:44 +02:00
parent f06489d6cb
commit 867e747add
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -731,7 +731,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
case WM_CLOSE:
{
// Flag this window for closing (handled in glfwPollEvents)
window->closed = GL_TRUE;
window->closeRequested = GL_TRUE;
return 0;
}
@@ -1675,7 +1675,7 @@ void _glfwPlatformPollEvents(void)
window = _glfwLibrary.windowListHead;
while (window)
{
window->closed = GL_TRUE;
window->closeRequested = GL_TRUE;
window = window->next;
}