mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
GetPhysicalScreenSize parsed the gxResolution CVar, which is the configured resolution, not what is drawn: a resized window kept reporting the setting. It now asks the device for its live render-window rectangle through GxCapsWindowSize (0x58A240), the same source the engine's font code sizes text from (GxuFontUpdateViewport), so the result follows the window. An empty rectangle gives the font code's own 640x480 fallback.