OpenGL HUD scaling fix
- Nov 13, 2018
-
-
Monster Iestyn authored
Fix OpenGL's HUD not being scaled the same way as Software's, by removing an old OpenGL-specific hack for fdupx/fdupy
e9fe0eba -
Monster Iestyn authored0d38061d
-
This fixes OpenGL's HUD not placing the Score/Time/Rings stats, as well as other HUD items such as the Race countdown numbers + GO graphics, in the right places on screen in non-green resolutions, compared to Software mode.
Have some images for comparison (both taken in 640x480):
Before fix:
After fix:
I also probably fixed an issue with HUD items using V_SNAPTO* flags combined with the scaling flags, but I haven't tested this out properly yet.
Fix OpenGL's HUD not being scaled the same way as Software's, by removing an old OpenGL-specific hack for fdupx/fdupy