mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-20 18:37:48 -04:00
fix voxel rendering clipping flicker (#1267)
Earlier fix was not enough.
This commit is contained in:
parent
0f49f788bd
commit
b3097103e6
@ -769,7 +769,7 @@ static void VX_DrawColumn (vissprite_t * spr, int x, int y)
|
||||
byte * dest = I_VideoBuffer + viewwindowy * linesize + viewwindowx;
|
||||
|
||||
// iterate over screen columns
|
||||
uint32_t ux = ((Ax - 1) | (FRACUNIT - 1)) + 1;
|
||||
fixed_t ux = (((int64_t)Ax - 1) | (FRACUNIT - 1)) + 1;
|
||||
|
||||
for (; ux < ((Cx > Bx) ? Cx : Bx) ; ux += FRACUNIT)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user