From 6b6e9eef800d448cd43572dd79153b9d00010283 Mon Sep 17 00:00:00 2001 From: fincs Date: Tue, 13 Mar 2018 13:14:32 +0100 Subject: [PATCH] Fix C3D_TexShadowParams not updating TexStatus (reported by @wwylele) --- source/texture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/texture.c b/source/texture.c index 0bdb3b7..5d7fb79 100644 --- a/source/texture.c +++ b/source/texture.c @@ -265,6 +265,7 @@ void C3D_TexShadowParams(bool perspective, float bias) iBias = BIT(24)-1; ctx->texShadow = (iBias &~ 1) | (perspective ? 0 : 1); + ctx->flags |= C3DiF_TexStatus; } void C3Di_SetTex(int unit, C3D_Tex* tex)