summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2004-11-12 18:34:35 +0000
committerRoland Scheidegger <[email protected]>2004-11-12 18:34:35 +0000
commite6cd5d675ffb8d50347f15d574463489e7be2470 (patch)
treeee3d6b66340b4a71ff79ca366138289a77fa4937 /src/mesa
parentce055c26f08556a46ee8b4b88e5fd15eb4d2acd1 (diff)
enable hw quad primitive for swtcl
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r200/r200_swtcl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c
index 43f83650781..5b74b47980c 100644
--- a/src/mesa/drivers/dri/r200/r200_swtcl.c
+++ b/src/mesa/drivers/dri/r200/r200_swtcl.c
@@ -334,7 +334,7 @@ static const GLuint reduced_hw_prim[GL_POLYGON+1] = {
R200_VF_PRIM_TRIANGLES,
R200_VF_PRIM_TRIANGLES,
R200_VF_PRIM_TRIANGLES,
- R200_VF_PRIM_TRIANGLES,
+ R200_VF_PRIM_QUADS,
R200_VF_PRIM_TRIANGLES,
R200_VF_PRIM_TRIANGLES
};
@@ -354,7 +354,7 @@ static void r200ResetLineStipple( GLcontext *ctx );
#define HAVE_TRI_STRIPS 1
#define HAVE_TRI_STRIP_1 0
#define HAVE_TRI_FANS 1
-#define HAVE_QUADS 0
+#define HAVE_QUADS 1
#define HAVE_QUAD_STRIPS 0
#define HAVE_POLYGONS 1
#define HAVE_ELTS 0