x11: Don't call _mesa_enable_._._extensions and _mesa_enable_sw_extensions
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 28 Jun 2013 01:20:18 +0000 (18:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Jun 2013 20:35:21 +0000 (13:35 -0700)
_mesa_enable_sw_extensions enables all the extensions (and more) that
the others enable.  Also, don't duplicate the DXTn checks.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/x11/xm_api.c

index b7c94aa4c96af05051c4e997feb507ee535d3230..ac290a546b47bdd00ce76f445b7d0639f237e3c0 100644 (file)
@@ -922,16 +922,7 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list )
    }
 
    _mesa_enable_sw_extensions(mesaCtx);
-   _mesa_enable_1_3_extensions(mesaCtx);
-   _mesa_enable_1_4_extensions(mesaCtx);
-   _mesa_enable_1_5_extensions(mesaCtx);
-   _mesa_enable_2_0_extensions(mesaCtx);
-   _mesa_enable_2_1_extensions(mesaCtx);
-    if (mesaCtx->Mesa_DXTn) {
-       mesaCtx->Extensions.EXT_texture_compression_s3tc = GL_TRUE;
-       mesaCtx->Extensions.ANGLE_texture_compression_dxt = GL_TRUE; 
-    }
-    mesaCtx->Extensions.TDFX_texture_compression_FXT1 = GL_TRUE;
+
 #if ENABLE_EXT_timer_query
     mesaCtx->Extensions.EXT_timer_query = GL_TRUE;
 #endif