summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl_dd
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2004-11-12 18:00:44 +0000
committerRoland Scheidegger <[email protected]>2004-11-12 18:00:44 +0000
commit6cf002c0c2b4025492281840fb24eb2764eccc6f (patch)
treec50e337a2b0896755fc0ed8fffad2fd369fdcb42 /src/mesa/tnl_dd
parent8d88f826b9988b19f473b13a7cbe0c2e0389b3d0 (diff)
fix quads to use GL_QUADS instead of GL_TRIANGLES as primitive
Diffstat (limited to 'src/mesa/tnl_dd')
-rw-r--r--src/mesa/tnl_dd/t_dd_tritmp.h2
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 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]) );