From 1bf9dfaf5dea61e3d33a69b0a549be54ef6d74df Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Sat, 18 Sep 1999 20:41:22 +0000 Subject: 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. --- src/mesa/main/drawpix.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/mesa/main/drawpix.c') diff --git a/src/mesa/main/drawpix.c b/src/mesa/main/drawpix.c index a78f345a81..edf524409a 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 @@ void gl_DrawPixels( GLcontext* ctx, struct gl_image *image ) 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 ); } } -- cgit v1.2.3