summaryrefslogtreecommitdiff
path: root/src/mesa/main/dlist.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>1999-09-20 14:30:22 +0000
committerKeith Whitwell <keith@tungstengraphics.com>1999-09-20 14:30:22 +0000
commit14f8b8b5c3316117651eef2c705da37e3047d472 (patch)
treecda171269243bdb06c7c295217e670fe0aa9932f /src/mesa/main/dlist.c
parent5a437d588975ec0e241a2bf7cc4ce3785cb476bd (diff)
Bugfix for ctx->backface_sign calculation
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r--src/mesa/main/dlist.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index e88f4f8edc8..60547dc5918 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -1,4 +1,4 @@
-/* $Id: dlist.c,v 1.4 1999/09/11 11:31:34 brianp Exp $ */
+/* $Id: dlist.c,v 1.5 1999/09/20 14:30:22 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -2457,6 +2457,11 @@ static void execute_list( GLcontext *ctx, GLuint list )
}
if (!ctx->CVA.elt.pipeline_valid)
gl_build_immediate_pipeline( ctx );
+
+ if ((MESA_VERBOSE & VERBOSE_DISPLAY_LIST) &&
+ (MESA_VERBOSE & VERBOSE_IMMEDIATE))
+ gl_print_cassette( (struct immediate *) n[1].data, 0, ~0 );
+
gl_fixup_cassette( ctx, (struct immediate *) n[1].data );
gl_execute_cassette( ctx, (struct immediate *) n[1].data );
break;
@@ -3096,26 +3101,21 @@ void gl_CallList( GLcontext *ctx, GLuint list )
/* execute the display list, and restore the CompileFlag. */
GLboolean save_compile_flag;
- if (MESA_VERBOSE&VERBOSE_API)
+ if (MESA_VERBOSE&VERBOSE_API) {
fprintf(stderr, "glCallList %u\n", list);
-
+ mesa_print_display_list( list );
+ }
save_compile_flag = ctx->CompileFlag;
ctx->CompileFlag = GL_FALSE;
FLUSH_VB( ctx, "call list" );
-
-/* mesa_print_display_list( list ); */
-
execute_list( ctx, list );
ctx->CompileFlag = save_compile_flag;
/* also restore API function pointers to point to "save" versions */
if (save_compile_flag)
- ctx->API = ctx->Save;
-
-
-/* RESET_IMMEDIATE( ctx ); */
+ ctx->API = ctx->Save;
}