diff options
author | Keith Whitwell <[email protected]> | 2002-02-13 00:53:19 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2002-02-13 00:53:19 +0000 |
commit | 0cb28418d06c30e431bdff515c1d36a812d5950d (patch) | |
tree | 4055885872891fb515f0acb780bf63a3a5fb02b8 /src/mesa/tnl/t_vb_render.c | |
parent | 12a1024d9d003afe1212cc48af04dac81c034299 (diff) |
More suport for t&l drivers
Fix GLuint compare bugs
Fix RESET_STIPPLE calls
Diffstat (limited to 'src/mesa/tnl/t_vb_render.c')
-rw-r--r-- | src/mesa/tnl/t_vb_render.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_vb_render.c b/src/mesa/tnl/t_vb_render.c index 5ccec25cb28..1721b883235 100644 --- a/src/mesa/tnl/t_vb_render.c +++ b/src/mesa/tnl/t_vb_render.c @@ -1,4 +1,4 @@ -/* $Id: t_vb_render.c,v 1.27 2002/01/22 14:35:17 brianp Exp $ */ +/* $Id: t_vb_render.c,v 1.28 2002/02/13 00:53:20 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -142,7 +142,7 @@ do { \ #define TAG(x) clip_##x##_verts #define INIT(x) tnl->Driver.Render.PrimitiveNotify( ctx, x ) -#define RESET_STIPPLE tnl->Driver.Render.ResetLineStipple( ctx ) +#define RESET_STIPPLE if (stipple) tnl->Driver.Render.ResetLineStipple( ctx ) #define RESET_OCCLUSION ctx->OcclusionResult = GL_TRUE #define PRESERVE_VB_DEFS #include "t_vb_rendertmp.h" @@ -229,7 +229,7 @@ static void clip_elt_triangles( GLcontext *ctx, (void) (LineFunc && TriangleFunc && QuadFunc); \ (void) elt; (void) stipple -#define RESET_STIPPLE tnl->Driver.Render.ResetLineStipple( ctx ) +#define RESET_STIPPLE if (stipple) tnl->Driver.Render.ResetLineStipple( ctx ) #define RESET_OCCLUSION ctx->OcclusionResult = GL_TRUE #define INIT(x) tnl->Driver.Render.PrimitiveNotify( ctx, x ) #define RENDER_TAB_QUALIFIER |