From: Roland Scheidegger Date: Fri, 12 Nov 2004 18:00:44 +0000 (+0000) Subject: fix quads to use GL_QUADS instead of GL_TRIANGLES as primitive X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6cf002c0c2b4025492281840fb24eb2764eccc6f;p=mesa.git fix quads to use GL_QUADS instead of GL_TRIANGLES as primitive --- 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]) );