Mesa (master): mesa: enable ColorMaskIndexed in display lists

Brian Paul brianp at kemper.freedesktop.org
Thu Dec 31 07:54:57 PST 2009


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

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Dec 31 08:48:27 2009 -0700

mesa: enable ColorMaskIndexed in display lists

---

 src/mesa/main/dlist.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 1f19716..1f9af36 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -6825,10 +6825,8 @@ execute_list(GLcontext *ctx, GLuint list)
             CALL_ColorMask(ctx->Exec, (n[1].b, n[2].b, n[3].b, n[4].b));
             break;
          case OPCODE_COLOR_MASK_INDEXED:
-            /*
             CALL_ColorMaskIndexedEXT(ctx->Exec, (n[1].ui, n[2].b, n[3].b,
                                                  n[4].b, n[5].b));
-            */
             break;
          case OPCODE_COLOR_MATERIAL:
             CALL_ColorMaterial(ctx->Exec, (n[1].e, n[2].e));
@@ -8752,7 +8750,7 @@ _mesa_init_save_table(struct _glapi_table *table)
    SET_ClearStencil(table, save_ClearStencil);
    SET_ClipPlane(table, save_ClipPlane);
    SET_ColorMask(table, save_ColorMask);
-   /*SET_ColorMaskIndexedEXT(table, save_ColorMaskIndexed);*/
+   SET_ColorMaskIndexedEXT(table, save_ColorMaskIndexed);
    (void) save_ColorMaskIndexed;
    SET_ColorMaterial(table, save_ColorMaterial);
    SET_CopyPixels(table, save_CopyPixels);



More information about the mesa-commit mailing list