From: Brian Paul Date: Tue, 21 Jun 2011 00:07:28 +0000 (-0600) Subject: st/mesa: put const qualifer on format_map table X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc60a7515a5ea2c1d3ae79a9e5dac7d5d2ed7276;p=mesa.git st/mesa: put const qualifer on format_map table --- 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 },