From 6a2af830298f6ba5d5d1577aa8f623ad27fdc936 Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Sun, 5 Nov 2023 00:15:07 +0000 Subject: [PATCH] [*] fix warning --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index 1b66a69d..10c7c137 100644 --- a/src/window.c +++ b/src/window.c @@ -1145,7 +1145,7 @@ GLFWAPI void glfwPollEvents(void) GLFWAPI struct pollfd* glfwGetPOSIXLoopFds(unsigned int* pCount) { - _GLFW_REQUIRE_INIT(); + _GLFW_REQUIRE_INIT_OR_RETURN(NULL); return _glfw.platform.getPOSIXLoopFds(pCount); }