Fix C3D_TexShadowParams not updating TexStatus (reported by @wwylele)
This commit is contained in:
parent
c23a8015f3
commit
6b6e9eef80
@ -265,6 +265,7 @@ void C3D_TexShadowParams(bool perspective, float bias)
|
|||||||
iBias = BIT(24)-1;
|
iBias = BIT(24)-1;
|
||||||
|
|
||||||
ctx->texShadow = (iBias &~ 1) | (perspective ? 0 : 1);
|
ctx->texShadow = (iBias &~ 1) | (perspective ? 0 : 1);
|
||||||
|
ctx->flags |= C3DiF_TexStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
void C3Di_SetTex(int unit, C3D_Tex* tex)
|
void C3Di_SetTex(int unit, C3D_Tex* tex)
|
||||||
|
Loading…
Reference in New Issue
Block a user