diff --git a/glfw/monitor.c b/glfw/monitor.c index f7de5500f..0d9b574af 100644 --- a/glfw/monitor.c +++ b/glfw/monitor.c @@ -431,7 +431,6 @@ GLFWAPI void glfwSetGamma(GLFWmonitor* handle, float gamma) unsigned short values[256]; GLFWgammaramp ramp; assert(handle != NULL); - assert(gamma == gamma); assert(gamma >= 0.f); assert(gamma <= FLT_MAX); @@ -505,4 +504,3 @@ GLFWAPI void glfwSetGammaRamp(GLFWmonitor* handle, const GLFWgammaramp* ramp) _glfwPlatformSetGammaRamp(monitor, ramp); } - diff --git a/glfw/wl_monitor.c b/glfw/wl_monitor.c index 408199918..134b43b29 100644 --- a/glfw/wl_monitor.c +++ b/glfw/wl_monitor.c @@ -182,16 +182,14 @@ 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 is 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"); }