Wayland: remove gamma-related TODOs

Commit 9c513346ad ("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.
This commit is contained in:
Alexander Monakov 2018-11-24 18:25:20 +03:00
parent 2bd0a24107
commit 95341ef9fd

View File

@ -182,17 +182,15 @@ void _glfwPlatformGetVideoMode(_GLFWmonitor* monitor, GLFWvidmode* mode)
void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp) void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp)
{ {
// TODO
_glfwInputError(GLFW_PLATFORM_ERROR, _glfwInputError(GLFW_PLATFORM_ERROR,
"Wayland: Gamma ramp getting not supported yet"); "Wayland: Gamma ramp access it not available");
} }
void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor,
const GLFWgammaramp* ramp) const GLFWgammaramp* ramp)
{ {
// TODO
_glfwInputError(GLFW_PLATFORM_ERROR, _glfwInputError(GLFW_PLATFORM_ERROR,
"Wayland: Gamma ramp setting not supported yet"); "Wayland: Gamma ramp access is not available");
} }