Fix glfwGetGammaRamp error handling

751c6f9a27
This commit is contained in:
Kovid Goyal
2018-12-28 08:13:28 +05:30
parent 11186735c2
commit a1eb236616
7 changed files with 29 additions and 11 deletions

4
glfw/null_monitor.c vendored
View File

@@ -58,11 +58,11 @@ void _glfwPlatformGetVideoMode(_GLFWmonitor* monitor, GLFWvidmode* mode)
{
}
void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp)
GLFWbool _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp)
{
return GLFW_FALSE;
}
void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp)
{
}