1
0
mirror of https://github.com/glfw/glfw.git synced 2025-04-23 17:12:50 +00:00

Removed check for whether context is current.

The GLFW TLS slot will be out of sync if an outside source makes another
context current.

Fixes .
This commit is contained in:
Elviss Strazdins 2015-04-02 14:19:57 +03:00 committed by Camilla Berglund
parent 2fbd948a67
commit a21f586c3b

View File

@ -530,9 +530,6 @@ GLFWAPI void glfwMakeContextCurrent(GLFWwindow* handle)
_GLFW_REQUIRE_INIT();
if (_glfwPlatformGetCurrentContext() == window)
return;
_glfwPlatformMakeContextCurrent(window);
}