mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
mesa: fix some potential uninitialized memory references
This commit is contained in:
parent
a531a5cf94
commit
f418d18ea6
2 changed files with 2 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ _mesa_Fogiv(GLenum pname, const GLint *params )
|
|||
break;
|
||||
default:
|
||||
/* Error will be caught later in _mesa_Fogfv */
|
||||
;
|
||||
ASSIGN_4V(p, 0.0F, 0.0F, 0.0F, 0.0F);
|
||||
}
|
||||
_mesa_Fogfv(pname, p);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -496,7 +496,7 @@ _mesa_LightModeliv( GLenum pname, const GLint *params )
|
|||
break;
|
||||
default:
|
||||
/* Error will be caught later in gl_LightModelfv */
|
||||
;
|
||||
ASSIGN_4V(fparam, 0.0F, 0.0F, 0.0F, 0.0F);
|
||||
}
|
||||
_mesa_LightModelfv( pname, fparam );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue