fixed a bug in texgen (T coord for GL_REFLECTION_MAP_NV)

This commit is contained in:
Daniel Borca 2003-12-08 13:00:50 +00:00
parent 034da5d817
commit 8fee8dfcaa

View 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;