diff options
author | Roland Scheidegger <rscheidegger@gmx.ch> | 2004-11-12 18:00:44 +0000 |
---|---|---|
committer | Roland Scheidegger <rscheidegger@gmx.ch> | 2004-11-12 18:00:44 +0000 |
commit | 6cf002c0c2b4025492281840fb24eb2764eccc6f (patch) | |
tree | c50e337a2b0896755fc0ed8fffad2fd369fdcb42 /src | |
parent | 8d88f826b9988b19f473b13a7cbe0c2e0389b3d0 (diff) |
fix quads to use GL_QUADS instead of GL_TRIANGLES as primitive
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/tnl_dd/t_dd_tritmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl_dd/t_dd_tritmp.h b/src/mesa/tnl_dd/t_dd_tritmp.h index 055ee559a0..a483dbb1de 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]) ); |