Skip to content

Commit

Permalink
Fix software dithering
Browse files Browse the repository at this point in the history
Rounding view angles to degrees fixes undefined software texture filter behaviour.
  • Loading branch information
apartfromtime committed Mar 18, 2024
1 parent 72de1d4 commit 26194c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/refresh/soft/sw_main.c
Expand Up @@ -1332,7 +1332,7 @@ RE_RenderFrame (refdef_t *fd)
// compare current position with old
if (vid_buffer_width <= 640 ||
!VectorCompareRound(fd->vieworg, lastvieworg) ||
!VectorCompare(fd->viewangles, lastviewangles))
!VectorCompareRound(fd->viewangles, lastviewangles))
{
fastmoving = true;
}
Expand Down

0 comments on commit 26194c7

Please sign in to comment.