UserContext: fixed x11 platform

This commit is contained in:
Doug Binks 2022-03-31 19:27:11 +01:00
parent 3b003dd5f0
commit 23d31b805a
2 changed files with 3 additions and 2 deletions

View File

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