diff --git a/src/gamma.c b/src/gamma.c index a82581dd..34cb22f5 100644 --- a/src/gamma.c +++ b/src/gamma.c @@ -43,7 +43,7 @@ GLFWAPI void glfwSetGamma(float gamma) { - int i, size = 256; + int i, size = GLFW_GAMMA_RAMP_SIZE; GLFWgammaramp ramp; if (!_glfwInitialized)