From: Ian Romanick Date: Fri, 28 Jun 2013 01:20:20 +0000 (-0700) Subject: osmesa: Don't call _mesa_enable_._._extensions and _mesa_enable_sw_extensions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a964397fd93e243f9287e8094681dfcb18a2ecc6;p=mesa.git osmesa: Don't call _mesa_enable_._._extensions and _mesa_enable_sw_extensions _mesa_enable_sw_extensions enables all the extensions (and more) that the others enable. Signed-off-by: Ian Romanick Reviewed-by: Kenneth Graunke Reviewed-by: Brian Paul --- diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index deb0b9364fa..102001edfa0 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -723,11 +723,6 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits, } _mesa_enable_sw_extensions(&(osmesa->mesa)); - _mesa_enable_1_3_extensions(&(osmesa->mesa)); - _mesa_enable_1_4_extensions(&(osmesa->mesa)); - _mesa_enable_1_5_extensions(&(osmesa->mesa)); - _mesa_enable_2_0_extensions(&(osmesa->mesa)); - _mesa_enable_2_1_extensions(&(osmesa->mesa)); osmesa->gl_buffer = _mesa_create_framebuffer(osmesa->gl_visual); if (!osmesa->gl_buffer) {