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