From 8abf90da9756dc1b7c98fcbd7675791b3f6720bd Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 6 Mar 2018 15:23:57 -0500 Subject: [PATCH] Add debug to window size --- src/window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.cpp b/src/window.cpp index 1978ef89..bd3eaa10 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -460,6 +460,7 @@ void windowRun() { int windowWidth, windowHeight; glfwGetWindowSize(gWindow, &windowWidth, &windowHeight); gWindowRatio = (float)width / windowWidth; + debug("%d %d %f %f", windowWidth, windowHeight, gWindowRatio, gPixelRatio); gScene->box.size = Vec(windowWidth, windowHeight);