1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2025-02-17 03:08:51 -05:00

Replaced hard-coded gamma ramp size with public constant.

This commit is contained in:
Camilla Berglund 2011-09-06 15:54:04 +02:00
parent 5327b0050e
commit ad973a5cfe

View File

@ -43,7 +43,7 @@
GLFWAPI void glfwSetGamma(float gamma)
{
int i, size = 256;
int i, size = GLFW_GAMMA_RAMP_SIZE;
GLFWgammaramp ramp;
if (!_glfwInitialized)