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:
4fbdde8
)
st/mesa: put const qualifer on format_map table
author
Brian Paul
<brianp@vmware.com>
Tue, 21 Jun 2011 00:07:28 +0000
(18:07 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 21 Jun 2011 00:15:50 +0000
(18:15 -0600)
src/mesa/state_tracker/st_format.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_format.c
b/src/mesa/state_tracker/st_format.c
index
45e4766
..
1d3d6cc
100644
(file)
--- a/
src/mesa/state_tracker/st_format.c
+++ b/
src/mesa/state_tracker/st_format.c
@@
-608,7
+608,7
@@
struct format_mapping
* Multiple GL enums might map to multiple pipe_formats.
* The first pipe format in the list that's supported is the one that's chosen.
*/
-static struct format_mapping format_map[] = {
+static
const
struct format_mapping format_map[] = {
/* Basic RGB, RGBA formats */
{
{ GL_RGB10, GL_RGB10_A2, 0 },