From 594bd104232af07aae4a77edfab9cbd074f75c52 Mon Sep 17 00:00:00 2001 From: Bigfoot71 Date: Wed, 18 Mar 2026 18:05:34 +0100 Subject: [PATCH] style tweaks --- src/external/rlsw.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/external/rlsw.h b/src/external/rlsw.h index 809432abc..4c6eabbfa 100644 --- a/src/external/rlsw.h +++ b/src/external/rlsw.h @@ -5319,12 +5319,12 @@ static void SW_RASTER_TRIANGLE_SPAN(const sw_vertex_t *start, const sw_vertex_t int blockEnd = x + SW_AFFINE_BLOCK; if (blockEnd > xEnd) blockEnd = xEnd; float blockLenF = (float)(blockEnd - x); - float blockLenRcp = 1.0f / blockLenF; + float blockLenRcp = 1.0f/blockLenF; // Only 2 '1/w' here; none inside the pixel loop - float wRcpA = 1.0f / w; + float wRcpA = 1.0f/w; float wB = w + dWdx*blockLenF; - float wRcpB = 1.0f / wB; + float wRcpB = 1.0f/wB; // Perspective-correct color at both block endpoints, then affine gradient float srcColor[4] = {