From e192cece3970c244077765379c40b7eb490e713a Mon Sep 17 00:00:00 2001 From: Colin James Wood Date: Wed, 20 May 2026 00:55:30 +0100 Subject: [PATCH] remove duplicate xLoopEnd --- src/external/rlsw.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/external/rlsw.h b/src/external/rlsw.h index 761b7de3e..7a7788f4b 100644 --- a/src/external/rlsw.h +++ b/src/external/rlsw.h @@ -5451,8 +5451,6 @@ static void SW_RASTER_TRIANGLE_SPAN(const sw_vertex_t *start, const sw_vertex_t #define SW_AFFINE_BLOCK 16 int x = xLoopStart; - // Prevent pixels from beyond the buffer from processing. - int xLoopEnd = sw_clamp_int(xEnd, 0, RLSW.colorBuffer->width); while (x < xLoopEnd) { // Clamp last block to remaining pixels