From: Brian Paul Date: Wed, 3 Jun 2009 02:32:34 +0000 (-0600) Subject: mesa: enable GL_ARB_copy_buffer for software drivers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a7399e2c4a5fc46f871ad030d6198a16e52d356;p=mesa.git mesa: enable GL_ARB_copy_buffer for software drivers --- diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 5c4bea9cf62..aa9513a550e 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -44,6 +44,7 @@ static const struct { const char *name; int flag_offset; } default_extensions[] = { + { OFF, "GL_ARB_copy_buffer", F(ARB_copy_buffer) }, { OFF, "GL_ARB_depth_texture", F(ARB_depth_texture) }, { ON, "GL_ARB_draw_buffers", F(ARB_draw_buffers) }, { OFF, "GL_ARB_fragment_program", F(ARB_fragment_program) }, @@ -183,6 +184,7 @@ static const struct { void _mesa_enable_sw_extensions(GLcontext *ctx) { + ctx->Extensions.ARB_copy_buffer = GL_TRUE; ctx->Extensions.ARB_depth_texture = GL_TRUE; /*ctx->Extensions.ARB_draw_buffers = GL_TRUE;*/ #if FEATURE_ARB_fragment_program