From d450d0b0e228e5b16c04b2a1acb9ea549aa690f2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 12 Dec 2003 16:38:57 +0000 Subject: applied Felix's patch for configuration system --- src/mesa/drivers/dri/mga/mga_xmesa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/mga') diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.c b/src/mesa/drivers/dri/mga/mga_xmesa.c index 75a6c32b57..7f199ea5c4 100644 --- a/src/mesa/drivers/dri/mga/mga_xmesa.c +++ b/src/mesa/drivers/dri/mga/mga_xmesa.c @@ -73,7 +73,7 @@ DRI_CONF_BEGIN DRI_CONF_COLOR_REDUCTION(DRI_CONF_COLOR_REDUCTION_DITHER) DRI_CONF_SECTION_END DRI_CONF_END; -const GLuint __driNConfigOptions = 3; +static const GLuint __driNConfigOptions = 3; #ifndef MGA_DEBUG int MGA_DEBUG = 0; @@ -241,7 +241,8 @@ mgaInitDriver(__DRIscreenPrivate *sPriv) mgaScreen->sarea_priv_offset = serverInfo->sarea_priv_offset; /* parse information in __driConfigOptions */ - driParseOptionInfo (&mgaScreen->optionCache); + driParseOptionInfo (&mgaScreen->optionCache, + __driConfigOptions, __driNConfigOptions); return GL_TRUE; } -- cgit v1.2.3