From d895ff88f9438a03e9305f1e6f529711f5b167f6 Mon Sep 17 00:00:00 2001 From: Logan Aerl Arias Date: Sat, 17 Feb 2024 19:53:25 -0500 Subject: [PATCH] Update hw_batching.c HWR_ProcessPolygon()'s shader parameter was renamed to shader_target --- src/hardware/hw_batching.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_batching.c b/src/hardware/hw_batching.c index 8242973ee..b9ab2592d 100644 --- a/src/hardware/hw_batching.c +++ b/src/hardware/hw_batching.c @@ -134,7 +134,7 @@ void HWR_ProcessPolygon(FSurfaceInfo *pSurf, FOutVector *pOutVerts, FUINT iNumPt DIGEST(hash, pSurf->PolyColor.rgba); if (cv_glshaders.value && gl_shadersavailable) { - DIGEST(hash, shader); + DIGEST(hash, shader_target); DIGEST(hash, pSurf->TintColor.rgba); DIGEST(hash, pSurf->FadeColor.rgba); DIGEST(hash, pSurf->LightInfo.light_level);