diff --git a/src/x11/x11_init.c b/src/x11/x11_init.c index a341ea2b..9958d433 100644 --- a/src/x11/x11_init.c +++ b/src/x11/x11_init.c @@ -224,8 +224,6 @@ static void terminateDisplay(void) if (_glfwLibrary.X11.display) { - _glfwPlatformSetGammaRamp(&_glfwLibrary.originalRamp); - XCloseDisplay(_glfwLibrary.X11.display); _glfwLibrary.X11.display = NULL; }