From a964397fd93e243f9287e8094681dfcb18a2ecc6 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 27 Jun 2013 18:20:20 -0700 Subject: [PATCH] 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 --- src/mesa/drivers/osmesa/osmesa.c | 5 ----- 1 file changed, 5 deletions(-) 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) { -- 2.30.2