mirror of
https://github.com/aap/librw.git
synced 2025-01-22 00:32:19 +00:00
Merge pull request #136 from Davilarek/patch-1
Fix conditional jump of unitialized value
This commit is contained in:
commit
15cb2cbb53
@ -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