mirror of
https://github.com/glfw/glfw.git
synced 2024-11-15 10:44:34 +00:00
UserContext: fixed x11 platform
This commit is contained in:
parent
3b003dd5f0
commit
23d31b805a
@ -183,4 +183,4 @@
|
|||||||
#define GLFW_PLATFORM_USER_CONTEXT_STATE \
|
#define GLFW_PLATFORM_USER_CONTEXT_STATE \
|
||||||
GLFW_WGL_USER_CONTEXT_STATE \
|
GLFW_WGL_USER_CONTEXT_STATE \
|
||||||
GLFW_NSGL_USER_CONTEXT_STATE \
|
GLFW_NSGL_USER_CONTEXT_STATE \
|
||||||
GLFW_GLX_USER_CONTEXT_STATE
|
GLFW_GLX_USER_CONTEXT_STATE
|
||||||
|
@ -470,6 +470,7 @@ typedef struct _GLFWcontextGLX
|
|||||||
{
|
{
|
||||||
GLXContext handle;
|
GLXContext handle;
|
||||||
GLXWindow window;
|
GLXWindow window;
|
||||||
|
GLXFBConfig fbconfig;
|
||||||
} _GLFWcontextGLX;
|
} _GLFWcontextGLX;
|
||||||
|
|
||||||
// GLX-specific global data
|
// GLX-specific global data
|
||||||
@ -1009,4 +1010,4 @@ GLFWbool _glfwChooseVisualGLX(const _GLFWwndconfig* wndconfig,
|
|||||||
Visual** visual, int* depth);
|
Visual** visual, int* depth);
|
||||||
|
|
||||||
_GLFWusercontext* _glfwCreateUserContextX11(_GLFWwindow* window);
|
_GLFWusercontext* _glfwCreateUserContextX11(_GLFWwindow* window);
|
||||||
_GLFWusercontext* _glfwCreateUserContextWGL(_GLFWwindow* window);
|
_GLFWusercontext* _glfwCreateUserContextGLX(_GLFWwindow* window);
|
||||||
|
Loading…
Reference in New Issue
Block a user