diff --git a/src/cocoa_window.m b/src/cocoa_window.m index d85fac1e..521f8179 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -1928,7 +1928,7 @@ _GLFWusercontext* _glfwCreateUserContextCocoa(_GLFWwindow* window) return _glfwCreateUserContextOSMesa(window); } - return GLFW_FALSE; + return NULL; } diff --git a/src/null_window.c b/src/null_window.c index cb54fa68..270c8b2d 100644 --- a/src/null_window.c +++ b/src/null_window.c @@ -698,5 +698,5 @@ _GLFWusercontext* _glfwCreateUserContextNull(_GLFWwindow* window) return _glfwCreateUserContextOSMesa(window); } - return GLFW_FALSE; + return NULL; } diff --git a/src/wl_window.c b/src/wl_window.c index dc393bac..165a1bd4 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -1871,7 +1871,7 @@ _GLFWusercontext* _glfwPlatformCreateUserContext(_GLFWwindow* window) return _glfwCreateUserContextOSMesa(window); } - return GLFW_FALSE; + return NULL; } ////////////////////////////////////////////////////////////////////////// diff --git a/src/x11_window.c b/src/x11_window.c index 1506125a..78e2cb83 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -3262,7 +3262,7 @@ _GLFWusercontext* _glfwCreateUserContextX11(_GLFWwindow* window) return _glfwCreateUserContextOSMesa(window); } - return GLFW_FALSE; + return NULL; }