mirror of
https://github.com/glfw/glfw.git
synced 2024-12-02 06:47:10 +00:00
UserContext: error return for CreateUserContext should be NULL
This commit is contained in:
parent
9dfa1649ff
commit
3b003dd5f0
@ -1928,7 +1928,7 @@ _GLFWusercontext* _glfwCreateUserContextCocoa(_GLFWwindow* window)
|
||||
return _glfwCreateUserContextOSMesa(window);
|
||||
}
|
||||
|
||||
return GLFW_FALSE;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
@ -698,5 +698,5 @@ _GLFWusercontext* _glfwCreateUserContextNull(_GLFWwindow* window)
|
||||
return _glfwCreateUserContextOSMesa(window);
|
||||
}
|
||||
|
||||
return GLFW_FALSE;
|
||||
return NULL;
|
||||
}
|
||||
|
@ -1871,7 +1871,7 @@ _GLFWusercontext* _glfwPlatformCreateUserContext(_GLFWwindow* window)
|
||||
return _glfwCreateUserContextOSMesa(window);
|
||||
}
|
||||
|
||||
return GLFW_FALSE;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
@ -3262,7 +3262,7 @@ _GLFWusercontext* _glfwCreateUserContextX11(_GLFWwindow* window)
|
||||
return _glfwCreateUserContextOSMesa(window);
|
||||
}
|
||||
|
||||
return GLFW_FALSE;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user