diff options
author | Brian Paul <[email protected]> | 2011-02-22 13:37:30 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-02-22 13:37:30 -0700 |
commit | eb24a5a9be2d517dfe5a00c869e6255ed7a279ce (patch) | |
tree | 882f52c83884067c7259306b64fffde88be94484 /src/mesa/main | |
parent | d7fcb2ac81e1b1da593f0ce7375324773470d8ed (diff) |
mesa: move comment, change debug code
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | 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 cdf349104a4..8e904c7787a 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; |