Browse Source

Add _glfwConnectNull() function to rglfw.c

pull/3827/head
M374LX 1 year ago
parent
commit
830285d159
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      src/rglfw.c

+ 9
- 0
src/rglfw.c View File

@ -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"

Loading…
Cancel
Save