mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Fix alignment in R_ThickStepping
This commit is contained in:
parent
590d6729e6
commit
a04834d1aa
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…
Reference in a new issue