mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 23:18:20 +02:00
make sure state token values are fully initialized
cherry-picked from master
This commit is contained in:
parent
50a20d4729
commit
a072094bf0
1 changed files with 1 additions and 1 deletions
|
|
@ -1767,7 +1767,7 @@ parse_param_elements (GLcontext * ctx, const GLubyte ** inst,
|
|||
{
|
||||
GLint idx;
|
||||
GLuint err = 0;
|
||||
gl_state_index state_tokens[STATE_LENGTH];
|
||||
gl_state_index state_tokens[STATE_LENGTH] = {0, 0, 0, 0, 0};
|
||||
GLfloat const_values[4];
|
||||
|
||||
switch (*(*inst)++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue