st/mesa: put const qualifer on format_map table

This commit is contained in:
Brian Paul
2011-06-20 18:07:28 -06:00
parent 4fbdde889c
commit bc60a7515a
+1 -1
View File
@@ -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 },