remove duplicate xLoopEnd
This commit is contained in:
parent
6768b73adc
commit
e192cece39
2
src/external/rlsw.h
vendored
2
src/external/rlsw.h
vendored
|
|
@ -5451,8 +5451,6 @@ static void SW_RASTER_TRIANGLE_SPAN(const sw_vertex_t *start, const sw_vertex_t
|
||||||
#define SW_AFFINE_BLOCK 16
|
#define SW_AFFINE_BLOCK 16
|
||||||
|
|
||||||
int x = xLoopStart;
|
int x = xLoopStart;
|
||||||
// Prevent pixels from beyond the buffer from processing.
|
|
||||||
int xLoopEnd = sw_clamp_int(xEnd, 0, RLSW.colorBuffer->width);
|
|
||||||
while (x < xLoopEnd)
|
while (x < xLoopEnd)
|
||||||
{
|
{
|
||||||
// Clamp last block to remaining pixels
|
// Clamp last block to remaining pixels
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user