From 19d23e5f475f8989032f55b10e9b0f39bab615cc Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sat, 17 Jul 2010 17:25:32 +0200 Subject: [PATCH] dri: Avoid mapping static GL functions This should/is done by the GL api frontend. Signed-off-by: Lionel Landwerlin --- src/mesa/drivers/dri/common/utils.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/src/mesa/drivers/dri/common/utils.c b/src/mesa/drivers/dri/common/utils.c index 0dd879a..e1d7725 100644 --- a/src/mesa/drivers/dri/common/utils.c +++ b/src/mesa/drivers/dri/common/utils.c @@ -212,15 +212,6 @@ void driInitExtensions( GLcontext * ctx, _mesa_enable_imaging_extensions( ctx ); } - /* The caller is too lazy to list any extension */ - if ( extensions_to_enable == NULL ) { - /* Map the static functions. Together with those mapped by remap - * table, this should cover everything mesa core knows. - */ - _mesa_map_static_functions(); - return; - } - for ( i = 0 ; extensions_to_enable[i].name != NULL ; i++ ) { driInitSingleExtension( ctx, & extensions_to_enable[i] ); } -- 1.7.1