fix quads to use GL_QUADS instead of GL_TRIANGLES as primitive
authorRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 12 Nov 2004 18:00:44 +0000 (18:00 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Fri, 12 Nov 2004 18:00:44 +0000 (18:00 +0000)
src/mesa/tnl_dd/t_dd_tritmp.h

index 055ee559a04dfd85a6fb512e022151888c3224fa..a483dbb1de16dbbd8e979f276d70f2f9ee38f459 100644 (file)
@@ -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]) );