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 6ffc53d..45b4164 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;