mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 13:20:58 +00:00
Not checking for internal window pointer when making the context current
This commit is contained in:
parent
427c79b24b
commit
a0ee612195
@ -530,9 +530,6 @@ GLFWAPI void glfwMakeContextCurrent(GLFWwindow* handle)
|
||||
|
||||
_GLFW_REQUIRE_INIT();
|
||||
|
||||
if (_glfwPlatformGetCurrentContext() == window)
|
||||
return;
|
||||
|
||||
_glfwPlatformMakeContextCurrent(window);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user