summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-12 13:23:43 -0600
committerBrian Paul <brianp@vmware.com>2009-05-12 13:23:43 -0600
commit272572afd248838aa0e62c1dd208242a83c9bd54 (patch)
tree5674098709480a9e16560952e8a2754a04a916bd
parent17bddf3505eb9dc6cfda8eeaf507998d97bef220 (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 2195a334d3..71fb43ea9e 100644
--- a/src/mesa/main/texparam.c
+++ b/src/mesa/main/texparam.c
@@ -598,7 +598,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