mirror of
https://github.com/aap/librw.git
synced 2025-03-09 11:27:08 +00:00
Fix conditional jump of unitialized value
Co-authored-by: Null7781 <nullzeron3310@gmail.com>
This commit is contained in:
parent
895556fd81
commit
d901d2db6f
@ -1110,7 +1110,7 @@ flushCache(void)
|
||||
uniformState.fogRange = 1.0f/(rwStateCache.fogStart - rwStateCache.fogEnd);
|
||||
|
||||
if(uniformStateDirty[RWGL_ALPHAFUNC] || uniformStateDirty[RWGL_ALPHAREF]){
|
||||
float alphaTest[4];
|
||||
float alphaTest[4] = {};
|
||||
switch(alphaFunc){
|
||||
case ALPHAALWAYS:
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user