Add window refresh events logging to iconify test

master
Camilla Berglund ago%!(EXTRA string=10 years)
parent 4b4cb9ce66
commit 4ad00fa388
  1. 3
      tests/iconify.c

@ -99,6 +99,9 @@ static void window_iconify_callback(GLFWwindow* window, int iconified)
static void window_refresh_callback(GLFWwindow* window)
{
int width, height;
printf("%0.2f Window refresh\n", glfwGetTime());
glfwGetFramebufferSize(window, &width, &height);
glfwMakeContextCurrent(window);

Loading…
Cancel
Save