From 321b90e2d3992f25d3848bfca82a967e288d271e Mon Sep 17 00:00:00 2001 From: siavash Date: Fri, 5 Jul 2013 00:14:00 +0430 Subject: [PATCH] Fixed indention. --- src/gamma.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gamma.c b/src/gamma.c index 1ec3b0e5..0bf24e4e 100644 --- a/src/gamma.c +++ b/src/gamma.c @@ -84,15 +84,15 @@ GLFWAPI void glfwSetGamma(GLFWmonitor* handle, float gamma) float inv255, value; // Calculate intensity - inv255 = 1.f / 255.f; + inv255 = 1.f / 255.f; value = i * inv255; // Apply gamma curve value = powf(value, 1.f / gamma) * 65535.f + 0.5f; // Clamp to value range - // There isn't any need to check for values smaller than zero. - // It is always positive and bigger than 0.5f. - value = value < 65535.f ? value : 65535.f; + // There isn't any need to check for values smaller than zero. + // It is always positive and bigger than 0.5f. + value = value < 65535.f ? value : 65535.f; values[i] = (unsigned short) value; }