summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-12 13:23:43 -0600
committerChia-I Wu <olvaffe@gmail.com>2009-09-12 20:56:01 +0800
commitde8b4f3bbd721ac3187d918f74375b873d43c5c7 (patch)
tree507e3f40edabed3d1cb6e4f26f3420ae3787e496
parent4132e67e31fa14a1b529a0e16c5951d86db62ba2 (diff)
mesa: fix set_tex_parameteri() call
-rw-r--r--src/mesa/main/texparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c
index 05d144270e..6cbb9999b1 100644
--- a/src/mesa/main/texparam.c
+++ b/src/mesa/main/texparam.c
@@ -599,7 +599,7 @@ _mesa_TexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
iparams[1] = (GLint) params[1];
iparams[2] = (GLint) params[2];
iparams[3] = (GLint) params[3];
- need_update = set_tex_parameteri(ctx, target, iparams);
+ need_update = set_tex_parameteri(ctx, texObj, pname, iparams);
}
break;
#endif