fixed a bug in texgen (T coord for GL_REFLECTION_MAP_NV)
authorDaniel Borca <dborca@users.sourceforge.net>
Mon, 8 Dec 2003 13:00:50 +0000 (13:00 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Mon, 8 Dec 2003 13:00:50 +0000 (13:00 +0000)
src/mesa/tnl/t_vb_texgen.c

index 6ffc53d7e06326b5bda2c7af29e652e9084563d9..45b4164d181437c3fd2339abd34fc0c64214ff4b 100644 (file)
@@ -449,7 +449,7 @@ static void texgen( GLcontext *ctx,
         break;
       case GL_REFLECTION_MAP_NV:
         for (i=0;i<count;i++)
-            texcoord[i][0] = f[i][0];
+            texcoord[i][1] = f[i][1];
         break;
       case GL_NORMAL_MAP_NV: {
         const GLfloat *norm = normal->start;