summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-04-09 10:54:00 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-04-09 15:22:15 +0100
commit7e563200b88edd50e0bbd00ada27f3988146ee9c (patch)
tree046e6ffbbd038f872fa85aa2dfce8aac7ba0b7d7 /src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c
parent8131123effd2124b8ca2aad04bf543e2fe82c7b0 (diff)
wgl: Add const qualifier to global constant data.
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c')
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c b/src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c
index f563635420..ead2c8aa59 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_arbpixelformat.c
@@ -285,7 +285,7 @@ struct attrib_match_info
BOOL exact;
};
-static struct attrib_match_info attrib_match[] = {
+static const struct attrib_match_info attrib_match[] = {
/* WGL_ARB_pixel_format */
{ WGL_DRAW_TO_WINDOW_ARB, 0, TRUE },
@@ -338,7 +338,7 @@ score_pixelformats(
int expected_value )
{
uint i;
- struct attrib_match_info *ami = NULL;
+ const struct attrib_match_info *ami = NULL;
uint index;
/* Find out if a given attribute should be considered for score calculation.