mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 09:08:58 +00:00
Merge branch 'master' into tls
Conflicts: src/x11_window.c
This commit is contained in:
+1
-1
@@ -508,7 +508,7 @@ GLFWAPI GLFWwindow glfwGetCurrentContext(void)
|
||||
if (!_glfwInitialized)
|
||||
{
|
||||
_glfwSetError(GLFW_NOT_INITIALIZED, NULL);
|
||||
return GL_FALSE;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return _glfwPlatformGetCurrentContext();
|
||||
|
||||
Reference in New Issue
Block a user