SDL/src/render/direct3d
Eric Wasylishen ab81a559f4 Windows DPI scaling/highdpi support
Adds hint "SDL_WINDOWS_DPI_SCALING" which can be set to "1" to
change the SDL coordinate system units to be DPI-scaled points, rather
than pixels everywhere.

This means windows will be appropriately sized, even when created on
high-DPI displays with scaling.

e.g. requesting a 640x480 window from SDL, on a display with 125%
scaling in Windows display settings, will create a window with an
800x600 client area (in pixels).

Setting this to "1" implicitly requests process DPI awareness
(setting SDL_WINDOWS_DPI_AWARENESS is unnecessary),
and forces SDL_WINDOW_ALLOW_HIGHDPI on all windows.
2022-06-11 14:19:01 -07:00
..
SDL_render_d3d.c Windows DPI scaling/highdpi support 2022-06-11 14:19:01 -07:00
SDL_shaders_d3d.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_shaders_d3d.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00