projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68aaf0a
)
mesa: Constify static const array in api_arrayelt.c
author
Mathias Fröhlich
<mathias.froehlich@web.de>
Wed, 3 Apr 2019 11:28:19 +0000
(13:28 +0200)
committer
Mathias Fröhlich
<mathias.froehlich@web.de>
Sat, 4 May 2019 05:40:35 +0000
(07:40 +0200)
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/api_arrayelt.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/api_arrayelt.c
b/src/mesa/main/api_arrayelt.c
index 81e4f91c45d6ff100b43540fbc3838ebb1a14b85..cd0d64f26f3b3bed3bc0e8334586399e7202fb8d 100644
(file)
--- a/
src/mesa/main/api_arrayelt.c
+++ b/
src/mesa/main/api_arrayelt.c
@@
-486,7
+486,7
@@
VertexAttrib4dvNV(GLuint index, const GLdouble *v)
/*
* Array [size][type] of VertexAttrib functions
*/
-static attrib_func AttribFuncsNV[2][4][NUM_TYPES] = {
+static
const
attrib_func AttribFuncsNV[2][4][NUM_TYPES] = {
{
/* non-normalized */
{