Mesa (master): mesa: move comment, change debug code

Brian Paul brianp at kemper.freedesktop.org
Tue Feb 22 21:41:46 UTC 2011


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

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Feb 22 13:37:30 2011 -0700

mesa: move comment, change debug code

---

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

diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index cdf3491..8e904c7 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -8419,8 +8419,6 @@ _mesa_CallList(GLuint list)
    GLboolean save_compile_flag;
    GET_CURRENT_CONTEXT(ctx);
    FLUSH_CURRENT(ctx, 0);
-   /* VERY IMPORTANT:  Save the CompileFlag status, turn it off, */
-   /* execute the display list, and restore the CompileFlag. */
 
    if (MESA_VERBOSE & VERBOSE_API)
       _mesa_debug(ctx, "glCallList %d\n", list);
@@ -8430,8 +8428,12 @@ _mesa_CallList(GLuint list)
       return;
    }
 
-/*     mesa_print_display_list( list ); */
+   if (0)
+      mesa_print_display_list( list );
 
+   /* VERY IMPORTANT:  Save the CompileFlag status, turn it off,
+    * execute the display list, and restore the CompileFlag.
+    */
    save_compile_flag = ctx->CompileFlag;
    if (save_compile_flag) {
       ctx->CompileFlag = GL_FALSE;




More information about the mesa-commit mailing list