From 95341ef9fdeb8fa1ba335a611d7677a3439f616f Mon Sep 17 00:00:00 2001 From: Alexander Monakov Date: Sat, 24 Nov 2018 18:25:20 +0300 Subject: [PATCH] Wayland: remove gamma-related TODOs Commit 9c513346ada1f5 ("Gamma will never be supported on Wayland") made it clear that it cannot be implemented, so remove the TODO markers and reword the error messages. --- src/wl_monitor.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/wl_monitor.c b/src/wl_monitor.c index 7d8e23eb9..f033fb6ec 100644 --- a/src/wl_monitor.c +++ b/src/wl_monitor.c @@ -182,17 +182,15 @@ void _glfwPlatformGetVideoMode(_GLFWmonitor* monitor, GLFWvidmode* mode) void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp) { - // TODO _glfwInputError(GLFW_PLATFORM_ERROR, - "Wayland: Gamma ramp getting not supported yet"); + "Wayland: Gamma ramp access it not available"); } void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) { - // TODO _glfwInputError(GLFW_PLATFORM_ERROR, - "Wayland: Gamma ramp setting not supported yet"); + "Wayland: Gamma ramp access is not available"); }