Added logging of window size.

master
Camilla Berglund ago%!(EXTRA string=14 years)
parent 13a438c91e
commit da86ba8062
  1. 2
      tests/iconify.c

@ -62,6 +62,8 @@ static void key_callback(GLFWwindow window, int key, int action)
static void size_callback(GLFWwindow window, int width, int height)
{
printf("%0.2f Size %ix%i\n", glfwGetTime(), width, height);
glViewport(0, 0, width, height);
}

Loading…
Cancel
Save