@@ -228,8 +228,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)
@@ -119,8 +119,6 @@ static GLFWglproc getProcAddressNSGL(const char* procname)
return symbol;
static void destroyContextNSGL(_GLFWwindow* window)
@autoreleasepool {
@@ -389,8 +389,6 @@ static GLFWglproc getProcAddressWGL(const char* procname)
return (GLFWglproc) GetProcAddress(_glfw.wgl.instance, procname);
static void destroyContextWGL(_GLFWwindow* window)
if (window->context.wgl.handle)