always feedback unit 0 texcoords
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 12 Jun 2001 22:06:53 +0000 (22:06 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 12 Jun 2001 22:06:53 +0000 (22:06 +0000)
src/mesa/swrast/s_feedback.c

index c86dc4f6d5ffbbc0c5fbb8d498a8cf6021e56bf4..2b42ce210ebd4daaa779bf50cb0c31330d7d02f6 100644 (file)
@@ -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
 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];