From 830285d1590af89c9c000a7c283fa86657e65d5d Mon Sep 17 00:00:00 2001 From: M374LX Date: Sun, 25 Feb 2024 14:41:18 -0300 Subject: [PATCH] Add _glfwConnectNull() function to rglfw.c --- src/rglfw.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/rglfw.c b/src/rglfw.c index 0e378b5bd..ad6ce442a 100644 --- a/src/rglfw.c +++ b/src/rglfw.c @@ -69,6 +69,15 @@ #define _WIN32_WINNT_WINXP 0x0501 #endif +#include "external/glfw/src/internal.h" + +// We do not use GLFW's "null" platform, but the absence of this function +// causes the build to fail +GLFWbool _glfwConnectNull(int platformID, _GLFWplatform* platform) +{ + return GLFW_TRUE; +} + // Common modules to all platforms #include "external/glfw/src/init.c" #include "external/glfw/src/platform.c"