Mesa (master): mesa: enable GL_ARB_copy_buffer for software drivers

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 3 03:35:48 UTC 2009


Module: Mesa
Branch: master
Commit: 3a7399e2c4a5fc46f871ad030d6198a16e52d356
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a7399e2c4a5fc46f871ad030d6198a16e52d356

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jun  2 20:32:34 2009 -0600

mesa: enable GL_ARB_copy_buffer for software drivers

---

 src/mesa/main/extensions.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 5c4bea9..aa9513a 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




More information about the mesa-commit mailing list