summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl_dd
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2004-11-12 04:13:27 +0000
committerAdam Jackson <[email protected]>2004-11-12 04:13:27 +0000
commit4d17d00bfc8ad5cb331e2fca235df60d84310b32 (patch)
tree7ad76d5a27d4c4355fcf03d573978ab0559d7ce1 /src/mesa/tnl_dd
parentb271ce8eda2fe3c349f03d7c7774f58672cf2cc4 (diff)
make render_quads_verts call EMIT_PRIM with the arguments in the right order,
and enable hardware quads on r200 and radeon. samples/prim renders quads correctly now.
Diffstat (limited to 'src/mesa/tnl_dd')
-rw-r--r--src/mesa/tnl_dd/t_dd_dmatmp2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl_dd/t_dd_dmatmp2.h b/src/mesa/tnl_dd/t_dd_dmatmp2.h
index b6eb71c5674..b762221b1a8 100644
--- a/src/mesa/tnl_dd/t_dd_dmatmp2.h
+++ b/src/mesa/tnl_dd/t_dd_dmatmp2.h
@@ -470,7 +470,7 @@ static void TAG(render_quads_verts)( GLcontext *ctx,
return;
if (HAVE_QUADS) {
- EMIT_PRIM( ctx, HW_QUADS, GL_QUADS, start, count );
+ EMIT_PRIM( ctx, GL_QUADS, HW_QUADS, start, count );
}
else {
/* Hardware doesn't have a quad primitive type -- simulate it