1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00

Formatting.

This commit is contained in:
Camilla Berglund 2014-12-31 20:25:36 +01:00
parent 287514e849
commit a6ded4d3fe
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ static void setCursorMode(_GLFWwindow* window, int newMode)
window->cursorMode = newMode; window->cursorMode = newMode;
if (window == _glfw.focusedWindow) if (_glfw.focusedWindow == window)
{ {
if (oldMode == GLFW_CURSOR_DISABLED) if (oldMode == GLFW_CURSOR_DISABLED)
{ {

View File

@ -425,7 +425,7 @@ GLFWAPI void glfwDestroyWindow(GLFWwindow* handle)
_glfwPlatformMakeContextCurrent(NULL); _glfwPlatformMakeContextCurrent(NULL);
// Clear the focused window pointer if this is the focused window // Clear the focused window pointer if this is the focused window
if (window == _glfw.focusedWindow) if (_glfw.focusedWindow == window)
_glfw.focusedWindow = NULL; _glfw.focusedWindow = NULL;
_glfwPlatformDestroyWindow(window); _glfwPlatformDestroyWindow(window);