Merge branch 'fix_assertion' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
78dec3d698
2
glfw/monitor.c
vendored
2
glfw/monitor.c
vendored
@ -452,7 +452,7 @@ GLFWAPI void glfwSetGamma(GLFWmonitor* handle, float gamma)
|
||||
GLFWgammaramp ramp;
|
||||
const GLFWgammaramp* original;
|
||||
assert(handle != NULL);
|
||||
assert(gamma >= 0.f);
|
||||
assert(gamma > 0.f);
|
||||
assert(gamma <= FLT_MAX);
|
||||
|
||||
_GLFW_REQUIRE_INIT();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user