From 119b18521f4a6ffbc9ca567e4085f14156c3f9ac Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 15 Feb 2025 00:35:34 +0100 Subject: [PATCH] oops should be i --- src/hardware/hw_cache.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hardware/hw_cache.c b/src/hardware/hw_cache.c index d11a5c5e0..9a7357c0c 100644 --- a/src/hardware/hw_cache.c +++ b/src/hardware/hw_cache.c @@ -639,11 +639,11 @@ void HWR_PrecacheLevel(void) if (!texturepresent[i]) continue; - if (texturepresent[j] & 1) - HWR_GetTexture(j, false); + if (texturepresent[i] & 1) + HWR_GetTexture(i, false); - if (texturepresent[j] & 2) - HWR_GetTexture(j, true); + if (texturepresent[i] & 2) + HWR_GetTexture(i, true); } free(texturepresent);