From 67d906349261d4491fb9b5267404456369c72c0f Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 30 Aug 2011 15:22:03 -0700 Subject: [PATCH] swrast-dri: Remove call to driInitExtensions The only purpose this call served in the DRI swrast driver was to initialize the remap table. Core Mesa already does the dispatch offset remapping for every function that could possibly ever be supported. There's no need to continue using that cruft in the driver. --- src/mesa/drivers/dri/swrast/swrast.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 6d4f5fce52a..bbf0b651a0e 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -695,8 +695,6 @@ dri_create_context(gl_api api, _mesa_enable_1_5_extensions(mesaCtx); _mesa_enable_2_0_extensions(mesaCtx); _mesa_enable_2_1_extensions(mesaCtx); - - driInitExtensions( mesaCtx, NULL, GL_FALSE ); break; case API_OPENGLES: _mesa_enable_1_3_extensions(mesaCtx); -- 2.30.2