mesa: fix _mesa_add_state_reference() declaration mismatch

Fixed gcc warnings.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10446>
This commit is contained in:
Timothy Arceri 2021-04-26 16:39:06 +10:00 committed by Marge Bot
parent 8d84a89cf6
commit 5ec8cbb9c0
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ _mesa_add_sized_state_reference(struct gl_program_parameter_list *paramList,
extern GLint
_mesa_add_state_reference(struct gl_program_parameter_list *paramList,
const gl_state_index16 stateTokens[]);
const gl_state_index16 stateTokens[STATE_LENGTH]);
static inline GLint