projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d84a89
)
mesa: fix _mesa_add_state_reference() declaration mismatch
author
Timothy Arceri
<tarceri@itsqueeze.com>
Mon, 26 Apr 2021 06:39:06 +0000
(16:39 +1000)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 26 Apr 2021 13:48:11 +0000
(13:48 +0000)
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>
src/mesa/program/prog_parameter.h
patch
|
blob
|
history
diff --git
a/src/mesa/program/prog_parameter.h
b/src/mesa/program/prog_parameter.h
index
0457a0d
..
3ee5e34
100644
(file)
--- 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