mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 21:56:36 +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();
|
_GLFW_REQUIRE_INIT();
|
||||||
|
|
||||||
if (_glfwPlatformGetCurrentContext() == window)
|
|
||||||
return;
|
|
||||||
|
|
||||||
_glfwPlatformMakeContextCurrent(window);
|
_glfwPlatformMakeContextCurrent(window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user