I have tried
SDL_DisplayMode DM;
SDL_GetDesktopDisplayMode(0, &DM);
auto Width = DM.w;
auto Height = DM.h;
but on a high-DPI display it returns the virtual screen resolution. SDL_GetCurrentDisplayMode
does the same.
So, how can I get the physical screen size also on high-DPI displays?