Cleanup of #487.

This commit is contained in:
Camilla Berglund 2015-04-09 14:03:26 +02:00
parent a21f586c3b
commit 882b770ecb
2 changed files with 2 additions and 2 deletions

View File

@ -63,6 +63,7 @@ GLFW bundles a number of dependencies in the `deps/` directory.
## Changelog ## Changelog
- Bugfix: Initialization failed on headless systems - Bugfix: Initialization failed on headless systems
- Bugfix: The cached current context could get out of sync
## Contact ## Contact
@ -171,6 +172,7 @@ skills.
- Julian Squires - Julian Squires
- Johannes Stein - Johannes Stein
- Justin Stoecker - Justin Stoecker
- Elviss Strazdins
- Nathan Sweet - Nathan Sweet
- TTK-Bandit - TTK-Bandit
- Sergey Tikhomirov - Sergey Tikhomirov

View File

@ -527,9 +527,7 @@ int _glfwStringInExtensionString(const char* string, const GLubyte* extensions)
GLFWAPI void glfwMakeContextCurrent(GLFWwindow* handle) GLFWAPI void glfwMakeContextCurrent(GLFWwindow* handle)
{ {
_GLFWwindow* window = (_GLFWwindow*) handle; _GLFWwindow* window = (_GLFWwindow*) handle;
_GLFW_REQUIRE_INIT(); _GLFW_REQUIRE_INIT();
_glfwPlatformMakeContextCurrent(window); _glfwPlatformMakeContextCurrent(window);
} }