Formatting.
This commit is contained in:
parent
cca6b52120
commit
2ad5764f06
@ -55,6 +55,7 @@ static void key_callback(GLFWwindow window, int key, int action)
|
|||||||
case GLFW_KEY_ESCAPE:
|
case GLFW_KEY_ESCAPE:
|
||||||
glfwCloseWindow(window);
|
glfwCloseWindow(window);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GLFW_KEY_V:
|
case GLFW_KEY_V:
|
||||||
if (control_is_down(window))
|
if (control_is_down(window))
|
||||||
{
|
{
|
||||||
@ -70,6 +71,7 @@ static void key_callback(GLFWwindow window, int key, int action)
|
|||||||
printf("[%lu]: %s\n", (unsigned long) size, buffer);
|
printf("[%lu]: %s\n", (unsigned long) size, buffer);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GLFW_KEY_C:
|
case GLFW_KEY_C:
|
||||||
if (control_is_down(window))
|
if (control_is_down(window))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user