From 4ad00fa3885696e250a03c941c9c4c40fdf5e66d Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 31 Aug 2015 22:26:45 +0200 Subject: [PATCH] Add window refresh events logging to iconify test --- tests/iconify.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/iconify.c b/tests/iconify.c index 037b85ac..aca3c124 100644 --- a/tests/iconify.c +++ b/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);