-/* $Id: t_dd_dmatmp.h,v 1.10 2001/04/09 15:41:11 alanh Exp $ */
+/* $Id: t_dd_dmatmp.h,v 1.11 2001/12/11 15:13:57 keithw Exp $ */
/*
* Mesa 3-D graphics library
currentsz = dmasz;
}
- if (flags & PRIM_PARITY) {
+ if ((flags & PRIM_PARITY) && count - start > 2) {
if (HAVE_TRI_STRIP_1 && 0) {
} else {
EMIT_VERTS( ctx, start, 1 );
currentsz = dmasz;
}
- if (flags & PRIM_PARITY) {
- EMIT_VERTS( ctx, start, 1 );
- currentsz--;
- }
-
dmasz -= (dmasz & 2);
currentsz -= (currentsz & 2);
currentsz = dmasz;
}
- if (flags & PRIM_PARITY) {
+ if ((flags & PRIM_PARITY) && count - start > 2) {
TAG(emit_elts)( ctx, elts+start, 1 );
}