mirror of
https://github.com/glfw/glfw.git
synced 2024-11-15 10:44:34 +00:00
UserContext: Null platform fixes
This commit is contained in:
parent
c97e3a657b
commit
9dfa1649ff
@ -106,6 +106,7 @@ GLFWbool _glfwConnectNull(int platformID, _GLFWplatform* platform)
|
|||||||
_glfwWaitEventsNull,
|
_glfwWaitEventsNull,
|
||||||
_glfwWaitEventsTimeoutNull,
|
_glfwWaitEventsTimeoutNull,
|
||||||
_glfwPostEmptyEventNull,
|
_glfwPostEmptyEventNull,
|
||||||
|
_glfwCreateUserContextNull,
|
||||||
_glfwGetEGLPlatformNull,
|
_glfwGetEGLPlatformNull,
|
||||||
_glfwGetEGLNativeDisplayNull,
|
_glfwGetEGLNativeDisplayNull,
|
||||||
_glfwGetEGLNativeWindowNull,
|
_glfwGetEGLNativeWindowNull,
|
||||||
|
@ -147,3 +147,5 @@ VkResult _glfwCreateWindowSurfaceNull(VkInstance instance, _GLFWwindow* window,
|
|||||||
|
|
||||||
void _glfwPollMonitorsNull(void);
|
void _glfwPollMonitorsNull(void);
|
||||||
|
|
||||||
|
_GLFWusercontext* _glfwCreateUserContextNull(_GLFWwindow* window);
|
||||||
|
|
||||||
|
@ -691,7 +691,7 @@ VkResult _glfwCreateWindowSurfaceNull(VkInstance instance,
|
|||||||
return VK_ERROR_EXTENSION_NOT_PRESENT;
|
return VK_ERROR_EXTENSION_NOT_PRESENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
_GLFWusercontext* _glfwPlatformCreateUserContext(_GLFWwindow* window)
|
_GLFWusercontext* _glfwCreateUserContextNull(_GLFWwindow* window)
|
||||||
{
|
{
|
||||||
if (window->context.osmesa.handle)
|
if (window->context.osmesa.handle)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user