adad6514d4
Add aspect-correct output of scaled video modes and a hint to control this behavior (aspect, stretch, or none). The Wayland spec states that fullscreen surfaces that do not cover the entire output shall be centered with the borders masked by the compositor, so no additional work is required aside from calculating the proper window dimensions. The default is still 'stretch' mode, as some window managers as of this time (KDE and older versions of GNOME still found in LTS distros) don't behave according to the spec and present an unmasked window that is not centered, so it's not yet safe to change the default. |
||
---|---|---|
.. | ||
SDL3 | ||
build_config |