From b980b2eeb62dc48101a7481d02d196c80b9da397 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 8 Jan 2001 04:09:41 +0000 Subject: Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86. --- src/mesa/tnl/t_vb_rendertmp.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/mesa/tnl/t_vb_rendertmp.h') diff --git a/src/mesa/tnl/t_vb_rendertmp.h b/src/mesa/tnl/t_vb_rendertmp.h index 9c9271ff22..194dd85190 100644 --- a/src/mesa/tnl/t_vb_rendertmp.h +++ b/src/mesa/tnl/t_vb_rendertmp.h @@ -1,4 +1,4 @@ -/* $Id: t_vb_rendertmp.h,v 1.4 2001/01/05 02:26:49 keithw Exp $ */ +/* $Id: t_vb_rendertmp.h,v 1.5 2001/01/08 04:09:42 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -107,7 +107,7 @@ static void TAG(render_line_strip)( GLcontext *ctx, (void) flags; RESET_OCCLUSION; - INIT(GL_LINES); + INIT(GL_LINE_STRIP); for (j=start+1; j