summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-06-20 18:07:28 -0600
committerBrian Paul <[email protected]>2011-06-20 18:15:50 -0600
commitbc60a7515a5ea2c1d3ae79a9e5dac7d5d2ed7276 (patch)
treee0baa4416ea1c54793f647d922abe5bd12c69ef4 /src
parent4fbdde889ce5875243c588e4c7c9f4b775d0d7a5 (diff)
st/mesa: put const qualifer on format_map table
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c
index 45e47667196..1d3d6cc20e4 100644
--- 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 },