Large patch:
- FX bug fixes.
- Polygon mode and edgeflag work properly.
- Clipping works with edgeflag.
- Driver.ReducedPrimitiveChange() callback so drivers
that implement lines & points as triangles can turn culling off
before rendering groups of these primitives.
- Cleaned up feedback & select primitives.
diff --git a/src/mesa/main/drawpix.c b/src/mesa/main/drawpix.c
index a78f345..edf5244 100644
--- a/src/mesa/main/drawpix.c
+++ b/src/mesa/main/drawpix.c
@@ -1,4 +1,4 @@
-/* $Id: drawpix.c,v 1.1 1999/08/19 00:55:41 jtg Exp $ */
+/* $Id: drawpix.c,v 1.2 1999/09/18 20:41:22 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -930,10 +930,7 @@
texcoord[3] = ctx->Current.Texcoord[0][3];
FEEDBACK_TOKEN( ctx, (GLfloat) (GLint) GL_DRAW_PIXEL_TOKEN );
gl_feedback_vertex( ctx,
- ctx->Current.RasterPos[0],
- ctx->Current.RasterPos[1],
- ctx->Current.RasterPos[2],
- ctx->Current.RasterPos[3],
+ ctx->Current.RasterPos,
color, ctx->Current.Index, texcoord );
}
}