diff --git a/src/platform.h b/src/platform.h index c68e987d..9f8e3e00 100644 --- a/src/platform.h +++ b/src/platform.h @@ -183,4 +183,4 @@ #define GLFW_PLATFORM_USER_CONTEXT_STATE \ GLFW_WGL_USER_CONTEXT_STATE \ GLFW_NSGL_USER_CONTEXT_STATE \ - GLFW_GLX_USER_CONTEXT_STATE \ No newline at end of file + GLFW_GLX_USER_CONTEXT_STATE diff --git a/src/x11_platform.h b/src/x11_platform.h index eaa11ada..95eeed05 100644 --- a/src/x11_platform.h +++ b/src/x11_platform.h @@ -470,6 +470,7 @@ typedef struct _GLFWcontextGLX { GLXContext handle; GLXWindow window; + GLXFBConfig fbconfig; } _GLFWcontextGLX; // GLX-specific global data @@ -1009,4 +1010,4 @@ GLFWbool _glfwChooseVisualGLX(const _GLFWwndconfig* wndconfig, Visual** visual, int* depth); _GLFWusercontext* _glfwCreateUserContextX11(_GLFWwindow* window); -_GLFWusercontext* _glfwCreateUserContextWGL(_GLFWwindow* window); +_GLFWusercontext* _glfwCreateUserContextGLX(_GLFWwindow* window);