Replaced hard-coded gamma ramp size with public constant.

master
Camilla Berglund ago%!(EXTRA string=14 years)
parent 5327b0050e
commit ad973a5cfe
  1. 2
      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)

Loading…
Cancel
Save