Print reported drawable size

This commit is contained in:
Amaryllis Kulla 2022-01-03 20:43:51 +01:00
parent 5d38b1f813
commit 4c7743760e
1 changed files with 2 additions and 0 deletions

View File

@ -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)