mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-19 21:55:13 +00:00
Merge branch 'fix_assertion' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
78dec3d698
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue