From: Ian Romanick Date: Tue, 30 Aug 2011 22:22:03 +0000 (-0700) Subject: swrast-dri: Remove call to driInitExtensions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67d906349261d4491fb9b5267404456369c72c0f;p=mesa.git 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. --- 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);