From 1676268eab04523fe4fe325d39d427fc098e52a5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 12 Jun 2001 22:06:53 +0000 Subject: always feedback unit 0 texcoords --- src/mesa/swrast/s_feedback.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast') diff --git a/src/mesa/swrast/s_feedback.c b/src/mesa/swrast/s_feedback.c index c86dc4f6d5..2b42ce210e 100644 --- a/src/mesa/swrast/s_feedback.c +++ b/src/mesa/swrast/s_feedback.c @@ -1,4 +1,4 @@ -/* $Id: s_feedback.c,v 1.7 2001/03/12 00:48:42 gareth Exp $ */ +/* $Id: s_feedback.c,v 1.8 2001/06/12 22:06:53 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -49,10 +49,10 @@ static void feedback_vertex( GLcontext *ctx, const SWvertex *v, const SWvertex *pv ) { + const GLuint texUnit = 0; /* See section 5.3 of 1.2.1 spec */ GLfloat win[4]; GLfloat color[4]; GLfloat tc[4]; - GLuint texUnit = ctx->Texture.CurrentTransformUnit; GLuint index; win[0] = v->win[0]; -- cgit v1.2.3