Add arrow keys to gamma test

master
Camilla Berglund ago%!(EXTRA string=9 years)
parent edb284f189
commit 0a668be1bf
  1. 2
      tests/gamma.c

@ -75,6 +75,7 @@ static void key_callback(GLFWwindow* window, int key, int scancode, int action,
}
case GLFW_KEY_KP_ADD:
case GLFW_KEY_UP:
case GLFW_KEY_Q:
{
set_gamma(window, gamma_value + STEP_SIZE);
@ -82,6 +83,7 @@ static void key_callback(GLFWwindow* window, int key, int scancode, int action,
}
case GLFW_KEY_KP_SUBTRACT:
case GLFW_KEY_DOWN:
case GLFW_KEY_W:
{
if (gamma_value - STEP_SIZE > 0.f)

Loading…
Cancel
Save