From 4c7743760e9e6acba0482989f41eff9f00a0b7bc Mon Sep 17 00:00:00 2001 From: Amaryllis Kulla Date: Mon, 3 Jan 2022 20:43:51 +0100 Subject: [PATCH] Print reported drawable size --- src/graphics.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/graphics.cpp b/src/graphics.cpp index f13f950..1898f5d 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -626,6 +626,8 @@ struct GraphicsPrivate /* Query the acutal size in pixels, not units */ SDL_GL_GetDrawableSize(threadData->window, &winSize.x, &winSize.y); + Debug() << "Reported drawable size:" << winSize.x << "winSize.y"; + /* Make sure integer buffers are rebuilt before screen offsets are * calculated so we have the final allocated buffer size ready */ if (integerScaleActive)