From 9dfa1649ff1000432e2c082c91ee07e2dc233305 Mon Sep 17 00:00:00 2001 From: Doug Binks Date: Thu, 31 Mar 2022 16:59:01 +0100 Subject: [PATCH] UserContext: Null platform fixes --- src/null_init.c | 1 + src/null_platform.h | 2 ++ src/null_window.c | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) 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) {