From 5849baee998e54bbd0718e98d8eac62554800d1e Mon Sep 17 00:00:00 2001 From: Colin James Wood Date: Sat, 9 May 2026 11:53:23 +0100 Subject: [PATCH] remove include guard to allow dyMin usage --- src/external/rlsw.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/external/rlsw.h b/src/external/rlsw.h index 1fb73e4ff..0518dafee 100644 --- a/src/external/rlsw.h +++ b/src/external/rlsw.h @@ -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 xLoopMax = sw_clamp_int(xMax, 0, RLSW.colorBuffer->width); int dxMin = xLoopMin - xMin; - #if defined(SW_ENABLE_DEPTH_TEST) || defined(SW_ENABLE_TEXTURE) int dyMin = yLoopMin - yMin; - #endif // Correct our start by how far we clipped outside the framebuffer. cRow[0] += dCdx[0]*dxMin + dCdy[0]*dyMin;