From 064dfaa5493e2f532ce523b63d43eb6e73fadeca 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 9c513346ada1f52d559c4eb4c1ec9d80c05696af ("Gamma will never be supported on Wayland") made it clear that it cannot be implemented, so this removes the TODO markers and rewords the error messages. Related to #1387. --- 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 7d8e23eb..f033fb6e 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"); }