summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2003-12-08 13:00:50 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2003-12-08 13:00:50 +0000
commit8fee8dfcaaf2dae5a8a022077f2d888b9943b5a2 (patch)
treec047e407a8c959ed2ddd667f05de5c75276ed9f3
parent034da5d817971ca8a8d25f6aab8c3c301cce5640 (diff)
fixed a bug in texgen (T coord for GL_REFLECTION_MAP_NV)
-rw-r--r--src/mesa/tnl/t_vb_texgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_texgen.c b/src/mesa/tnl/t_vb_texgen.c
index 6ffc53d7e0..45b4164d18 100644
--- a/src/mesa/tnl/t_vb_texgen.c
+++ b/src/mesa/tnl/t_vb_texgen.c
@@ -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;