mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix alignment in R_ThickStepping
This commit is contained in:
parent
2c247d8210
commit
8d1ad4dc2e
1 changed files with 2 additions and 2 deletions
|
|
@ -3287,8 +3287,8 @@ static void R_ThickStepping(drawseg_t *ds, INT32 range)
|
|||
// using INT64 to avoid 32bit overflow
|
||||
rw.top_frac = (INT64)centeryfrac - (((INT64)rw.left_top * ds->scale1) >> FRACBITS);
|
||||
rw.bottom_frac = (INT64)centeryfrac - (((INT64)rw.left_bottom * ds->scale1) >> FRACBITS);
|
||||
rw.top_step = (INT64)centeryfrac - (((INT64)right_top * ds->scale2) >> FRACBITS);
|
||||
rw.bottom_step = (INT64)centeryfrac - (((INT64)right_bottom * ds->scale2) >> FRACBITS);
|
||||
rw.top_step = (INT64)centeryfrac - (((INT64)right_top * ds->scale2) >> FRACBITS);
|
||||
rw.bottom_step = (INT64)centeryfrac - (((INT64)right_bottom * ds->scale2) >> FRACBITS);
|
||||
|
||||
rw.top_step = (rw.top_step-rw.top_frac)/(range);
|
||||
rw.bottom_step = (rw.bottom_step-rw.bottom_frac)/(range);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue