remove duplicate xLoopEnd

This commit is contained in:
Colin James Wood 2026-05-20 00:55:30 +01:00
parent 6768b73adc
commit e192cece39

2
src/external/rlsw.h vendored
View File

@ -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