remove include guard to allow dyMin usage
This commit is contained in:
parent
a20c32f5aa
commit
5849baee99
2
src/external/rlsw.h
vendored
2
src/external/rlsw.h
vendored
|
|
@ -5748,9 +5748,7 @@ static void SW_RASTER_QUAD(const sw_vertex_t *a, const sw_vertex_t *b,
|
||||||
int xLoopMin = sw_clamp_int(xMin, 0, RLSW.colorBuffer->width - 1);
|
int xLoopMin = sw_clamp_int(xMin, 0, RLSW.colorBuffer->width - 1);
|
||||||
int xLoopMax = sw_clamp_int(xMax, 0, RLSW.colorBuffer->width);
|
int xLoopMax = sw_clamp_int(xMax, 0, RLSW.colorBuffer->width);
|
||||||
int dxMin = xLoopMin - xMin;
|
int dxMin = xLoopMin - xMin;
|
||||||
#if defined(SW_ENABLE_DEPTH_TEST) || defined(SW_ENABLE_TEXTURE)
|
|
||||||
int dyMin = yLoopMin - yMin;
|
int dyMin = yLoopMin - yMin;
|
||||||
#endif
|
|
||||||
|
|
||||||
// Correct our start by how far we clipped outside the framebuffer.
|
// Correct our start by how far we clipped outside the framebuffer.
|
||||||
cRow[0] += dCdx[0]*dxMin + dCdy[0]*dyMin;
|
cRow[0] += dCdx[0]*dxMin + dCdy[0]*dyMin;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user