From 6cf002c0c2b4025492281840fb24eb2764eccc6f Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Fri, 12 Nov 2004 18:00:44 +0000 Subject: [PATCH] fix quads to use GL_QUADS instead of GL_TRIANGLES as primitive --- src/mesa/tnl_dd/t_dd_tritmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/tnl_dd/t_dd_tritmp.h b/src/mesa/tnl_dd/t_dd_tritmp.h index 055ee559a04..a483dbb1de1 100644 --- a/src/mesa/tnl_dd/t_dd_tritmp.h +++ b/src/mesa/tnl_dd/t_dd_tritmp.h @@ -584,7 +584,7 @@ static void TAG(quad)( GLcontext *ctx, VERT_Z_ADD(v[2], offset); VERT_Z_ADD(v[3], offset); } - RASTERIZE( GL_TRIANGLES ); + RASTERIZE( GL_QUADS ); if (DO_TWOSTENCIL && !HAVE_STENCIL_TWOSIDE && ctx->Stencil.TestTwoSide) { SETUP_STENCIL(facing); QUAD( (v[0]), (v[1]), (v[2]), (v[3]) ); -- 2.30.2