mesa: enable GL_ARB_copy_buffer for software drivers
authorBrian Paul <brianp@vmware.com>
Wed, 3 Jun 2009 02:32:34 +0000 (20:32 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 3 Jun 2009 03:35:11 +0000 (21:35 -0600)
src/mesa/main/extensions.c

index 5c4bea9cf628cc7fc1509ae4c44cbf6cc8ff6ac6..aa9513a550ead5a324cfe8e5650ba5c823fa29c6 100644 (file)
@@ -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