diff options
author | Brian Paul <[email protected]> | 2011-06-20 18:07:28 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-06-20 18:15:50 -0600 |
commit | bc60a7515a5ea2c1d3ae79a9e5dac7d5d2ed7276 (patch) | |
tree | e0baa4416ea1c54793f647d922abe5bd12c69ef4 /src/mesa | |
parent | 4fbdde889ce5875243c588e4c7c9f4b775d0d7a5 (diff) |
st/mesa: put const qualifer on format_map table
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_format.c | 2 |
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 }, |