From 5ec8cbb9c06197663d85dcf05a97707b359fd951 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 26 Apr 2021 16:39:06 +1000 Subject: [PATCH] mesa: fix _mesa_add_state_reference() declaration mismatch Fixed gcc warnings. Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/mesa/program/prog_parameter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/program/prog_parameter.h b/src/mesa/program/prog_parameter.h index 0457a0d..3ee5e34 100644 --- a/src/mesa/program/prog_parameter.h +++ b/src/mesa/program/prog_parameter.h @@ -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 -- 2.7.4