OpenXRay / xray-16

Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)
https://discord.gg/sjRMQwv
Other
3.02k stars 454 forks source link

Remove incorrect resolution scaling code #1635

Closed yohjimane closed 7 months ago

yohjimane commented 8 months ago

The code incorrectly takes a smaller subregion and scales it up, rather than updating the internal resolution and scaling it up.

Xottab-DUTY commented 7 months ago

Thanks! That was incorrect code indeed! It should be used differently, according to this article: https://learn.microsoft.com/en-us/windows/uwp/gaming/multisampling--scaling--and-overlay-swap-chains