This commit is contained in:
aap 2021-11-23 14:43:52 +01:00
parent c60d7a791c
commit 7dd7ec184d
1 changed files with 1 additions and 0 deletions

View File

@ -923,6 +923,7 @@ resetRenderState(void)
rwStateCache.alphaFunc = ALPHAGREATEREQUAL; rwStateCache.alphaFunc = ALPHAGREATEREQUAL;
alphaFunc = 0; alphaFunc = 0;
alphaRef = 10.0f/255.0f; alphaRef = 10.0f/255.0f;
uniformStateDirty[RWGL_ALPHAREF] = true;
uniformState.fogDisable = 1.0f; uniformState.fogDisable = 1.0f;
uniformState.fogStart = 0.0f; uniformState.fogStart = 0.0f;
uniformState.fogEnd = 0.0f; uniformState.fogEnd = 0.0f;