summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/utils.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-02-10 14:30:38 -0800
committerEric Anholt <[email protected]>2009-02-10 18:45:18 -0800
commit5d5ae371eaeca7e33e638af3aee1ae8e162db0a7 (patch)
treef6a80eba6abfade14d4a5586874ebb716b64fb68 /src/mesa/drivers/dri/common/utils.c
parenta49ff9f95e1654c7ee05101e68df51211ad81450 (diff)
intel: Add x8r8g8b8 visuals to DRI1 fbconfigs alongside a8r8gb8.
This involved fixing driConcatConfigs to not return const (which had made a mess of a previous patch too).
Diffstat (limited to 'src/mesa/drivers/dri/common/utils.c')
-rw-r--r--src/mesa/drivers/dri/common/utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/common/utils.c b/src/mesa/drivers/dri/common/utils.c
index 5175ab0abbf..6b44ed9a673 100644
--- a/src/mesa/drivers/dri/common/utils.c
+++ b/src/mesa/drivers/dri/common/utils.c
@@ -754,10 +754,10 @@ driCreateConfigs(GLenum fb_format, GLenum fb_type,
return configs;
}
-const __DRIconfig **driConcatConfigs(const __DRIconfig **a,
- const __DRIconfig **b)
+__DRIconfig **driConcatConfigs(__DRIconfig **a,
+ __DRIconfig **b)
{
- const __DRIconfig **all;
+ __DRIconfig **all;
int i, j, index;
i = 0;