Made glfwGetGammaRamp act directly.

This commit is contained in:
Camilla Berglund
2013-01-17 23:31:22 +01:00
parent dba2d80009
commit a910f53be2
5 changed files with 1 additions and 6 deletions
+1 -2
View File
@@ -86,7 +86,7 @@ GLFWAPI void glfwGetGammaRamp(GLFWgammaramp* ramp)
return;
}
*ramp = _glfw.currentRamp;
_glfwPlatformGetGammaRamp(ramp);
}
GLFWAPI void glfwSetGammaRamp(const GLFWgammaramp* ramp)
@@ -98,7 +98,6 @@ GLFWAPI void glfwSetGammaRamp(const GLFWgammaramp* ramp)
}
_glfwPlatformSetGammaRamp(ramp);
_glfw.currentRamp = *ramp;
_glfw.rampChanged = GL_TRUE;
}