From 26194c76cfe7aa596bcddb9fa2d88519e125595b Mon Sep 17 00:00:00 2001 From: apartfromtime <42292382+apartfromtime@users.noreply.github.com> Date: Mon, 18 Mar 2024 12:19:35 +1100 Subject: [PATCH] Fix software dithering Rounding view angles to degrees fixes undefined software texture filter behaviour. --- src/client/refresh/soft/sw_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/refresh/soft/sw_main.c b/src/client/refresh/soft/sw_main.c index 641e1cc9..47b738ce 100644 --- a/src/client/refresh/soft/sw_main.c +++ b/src/client/refresh/soft/sw_main.c @@ -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; }