Mesa (master): swrast-dri: Remove call to driInitExtensions

Ian Romanick idr at kemper.freedesktop.org
Fri Sep 9 21:05:09 UTC 2011


Module: Mesa
Branch: master
Commit: 67d906349261d4491fb9b5267404456369c72c0f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67d906349261d4491fb9b5267404456369c72c0f

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Aug 30 15:22:03 2011 -0700

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 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c
index 6d4f5fc..bbf0b65 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);




More information about the mesa-commit mailing list