mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Revert "V_DrawStretchyFixedPatch: multiply vertical scale in fixed-point"
This reverts commit 7d90e8f8f8.
This commit is contained in:
parent
5109e3bdf9
commit
520e2f796b
1 changed files with 3 additions and 1 deletions
|
|
@ -886,10 +886,12 @@ void V_DrawStretchyFixedPatch(fixed_t x, fixed_t y, fixed_t pscale, fixed_t vsca
|
||||||
else
|
else
|
||||||
pwidth = patch->width * dupx;
|
pwidth = patch->width * dupx;
|
||||||
|
|
||||||
|
float fdupy = FIXED_TO_FLOAT(vdup);
|
||||||
|
|
||||||
float fx = x;
|
float fx = x;
|
||||||
float fy = y;
|
float fy = y;
|
||||||
float fx2 = fx + pwidth;
|
float fx2 = fx + pwidth;
|
||||||
float fy2 = fy + ((patch->height * vdup) / FRACUNIT);
|
float fy2 = fy + static_cast<float>(patch->height) * fdupy;
|
||||||
float falpha = 1.f;
|
float falpha = 1.f;
|
||||||
float umin = 0.f;
|
float umin = 0.f;
|
||||||
float umax = 1.f;
|
float umax = 1.f;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue