UserContext: Null platform fixes

This commit is contained in:
Doug Binks 2022-03-31 16:59:01 +01:00
parent c97e3a657b
commit 9dfa1649ff
3 changed files with 4 additions and 1 deletions

View File

@ -106,6 +106,7 @@ GLFWbool _glfwConnectNull(int platformID, _GLFWplatform* platform)
_glfwWaitEventsNull,
_glfwWaitEventsTimeoutNull,
_glfwPostEmptyEventNull,
_glfwCreateUserContextNull,
_glfwGetEGLPlatformNull,
_glfwGetEGLNativeDisplayNull,
_glfwGetEGLNativeWindowNull,

View File

@ -147,3 +147,5 @@ VkResult _glfwCreateWindowSurfaceNull(VkInstance instance, _GLFWwindow* window,
void _glfwPollMonitorsNull(void);
_GLFWusercontext* _glfwCreateUserContextNull(_GLFWwindow* window);

View File

@ -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)
{