summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-06-12 22:06:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-06-12 22:06:53 +0000
commit1676268eab04523fe4fe325d39d427fc098e52a5 (patch)
tree8adabe775d31ee9131b31682ae12139f43649c95
parentbaace9ffca69dd7919b5c3cf53bd87affa9c1e25 (diff)
always feedback unit 0 texcoords
-rw-r--r--src/mesa/swrast/s_feedback.c4
1 files changed, 2 insertions, 2 deletions
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];