diff --git a/src/null_init.c b/src/null_init.c index de4b28f3..f914bb75 100644 --- a/src/null_init.c +++ b/src/null_init.c @@ -106,6 +106,7 @@ GLFWbool _glfwConnectNull(int platformID, _GLFWplatform* platform) _glfwWaitEventsNull, _glfwWaitEventsTimeoutNull, _glfwPostEmptyEventNull, + _glfwCreateUserContextNull, _glfwGetEGLPlatformNull, _glfwGetEGLNativeDisplayNull, _glfwGetEGLNativeWindowNull, diff --git a/src/null_platform.h b/src/null_platform.h index 4c25b112..f7a94c0f 100644 --- a/src/null_platform.h +++ b/src/null_platform.h @@ -147,3 +147,5 @@ VkResult _glfwCreateWindowSurfaceNull(VkInstance instance, _GLFWwindow* window, void _glfwPollMonitorsNull(void); +_GLFWusercontext* _glfwCreateUserContextNull(_GLFWwindow* window); + diff --git a/src/null_window.c b/src/null_window.c index c7370e61..cb54fa68 100644 --- a/src/null_window.c +++ b/src/null_window.c @@ -691,7 +691,7 @@ VkResult _glfwCreateWindowSurfaceNull(VkInstance instance, return VK_ERROR_EXTENSION_NOT_PRESENT; } -_GLFWusercontext* _glfwPlatformCreateUserContext(_GLFWwindow* window) +_GLFWusercontext* _glfwCreateUserContextNull(_GLFWwindow* window) { if (window->context.osmesa.handle) {