mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 11:31:41 +00:00
Fix Software Slope Rendering for non-1.2 pixel ratios
This commit is contained in:
parent
4475240da8
commit
b84bf176e1
1 changed files with 3 additions and 0 deletions
|
@ -172,6 +172,9 @@ namespace swrenderer
|
|||
|
||||
WallTMapScale2 = IYaspectMul / CenterX * 1.2 / ypixelstretch;
|
||||
|
||||
// [RicardoLuis0] adjust IYaspectMul for map stretch -- fixes slope rendering on maps that define pixelratio
|
||||
IYaspectMul *= 1.2 / ypixelstretch;
|
||||
|
||||
// thing clipping
|
||||
fillshort(screenheightarray, viewwidth, (short)viewheight);
|
||||
|
||||
|
|
Loading…
Reference in a new issue