From bfa463934f8de85c61b3c72d5fe6c4dbb5509c38 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Wed, 13 Aug 2025 19:15:40 -0400 Subject: [PATCH] Fix pixel shift caused by negative pixel positioning in software --- src/r_draw_column.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_draw_column.cpp b/src/r_draw_column.cpp index 4234427c5..297065ae0 100644 --- a/src/r_draw_column.cpp +++ b/src/r_draw_column.cpp @@ -230,7 +230,7 @@ static void R_DrawColumnTemplate(drawcolumndata_t *dc) { if (frac < 0) // adjust in case we underread - frac += FRACUNIT; + frac += fracstep; // texture has no height, so just go while (--count > 0)