Add arrow keys to gamma test
This commit is contained in:
parent
edb284f189
commit
0a668be1bf
@ -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…
Reference in New Issue
Block a user