Fix software dithering

Rounding view angles to degrees fixes undefined software texture filter behaviour.
This commit is contained in:
apartfromtime 2024-03-18 12:19:35 +11:00
parent 72de1d45f8
commit 26194c76cf

View file

@ -1332,7 +1332,7 @@ RE_RenderFrame (refdef_t *fd)
// compare current position with old // compare current position with old
if (vid_buffer_width <= 640 || if (vid_buffer_width <= 640 ||
!VectorCompareRound(fd->vieworg, lastvieworg) || !VectorCompareRound(fd->vieworg, lastvieworg) ||
!VectorCompare(fd->viewangles, lastviewangles)) !VectorCompareRound(fd->viewangles, lastviewangles))
{ {
fastmoving = true; fastmoving = true;
} }