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.
This commit is contained in:
parent
b271ce8eda
commit
4d17d00bfc
|
@ -62,7 +62,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#define HAVE_TRI_STRIPS 1
|
||||
#define HAVE_TRI_STRIP_1 0
|
||||
#define HAVE_TRI_FANS 1
|
||||
#define HAVE_QUADS 0 /* hw quad verts in wrong order??? */
|
||||
#define HAVE_QUADS 1
|
||||
#define HAVE_QUAD_STRIPS 1
|
||||
#define HAVE_POLYGONS 1
|
||||
#define HAVE_ELTS 1
|
||||
|
|
|
@ -66,7 +66,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#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 1
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue