swrast-dri: Remove call to driInitExtensions
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Aug 2011 22:22:03 +0000 (15:22 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Sep 2011 21:02:20 +0000 (14:02 -0700)
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

index 6d4f5fce52a2e5c247933433e9d92797ab9c16fc..bbf0b651a0e1ce87990de7bcf52e5737107bfb6e 100644 (file)
@@ -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);