From: Roland Scheidegger Date: Fri, 12 Nov 2004 18:34:35 +0000 (+0000) Subject: enable hw quad primitive for swtcl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6cd5d675ffb8d50347f15d574463489e7be2470;p=mesa.git enable hw quad primitive for swtcl --- 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