diff --git a/glfw/glx_context.c b/glfw/glx_context.c index adace82d9..b8cab7154 100644 --- a/glfw/glx_context.c +++ b/glfw/glx_context.c @@ -226,8 +226,6 @@ static GLFWglproc getProcAddressGLX(const char* procname) return _glfw_dlsym(_glfw.glx.handle, procname); } -// Destroy the OpenGL context -// static void destroyContextGLX(_GLFWwindow* window) { if (window->context.glx.window) @@ -695,4 +693,3 @@ GLFWAPI GLXWindow glfwGetGLXWindow(GLFWwindow* handle) return window->context.glx.window; } - diff --git a/glfw/nsgl_context.m b/glfw/nsgl_context.m index 97a6ba6b4..777b8210c 100644 --- a/glfw/nsgl_context.m +++ b/glfw/nsgl_context.m @@ -71,8 +71,6 @@ static GLFWglproc getProcAddressNSGL(const char* procname) return symbol; } -// Destroy the OpenGL context -// static void destroyContextNSGL(_GLFWwindow* window) { [window->context.nsgl.pixelFormat release];