summaryrefslogtreecommitdiff
path: root/src/mesa/main/texparam.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-10-02 15:32:04 +0800
committerBrian Paul <brianp@vmware.com>2009-10-29 07:52:58 -0600
commit9927d7f31c5c46c7b061cf8e13324ac4a837c4b7 (patch)
tree89f6aa7325869b0ab20e7532fd3571290b60ce03 /src/mesa/main/texparam.c
parent59798cd8864b601e035cf2414517cd90d24ed786 (diff)
mesa: Fix compilation errors and warnings when features are disabled.
Some of the fixes are cherry-picked from opengl-es branch. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'src/mesa/main/texparam.c')
-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 4258476092..79298e867a 100644
--- a/src/mesa/main/texparam.c
+++ b/src/mesa/main/texparam.c
@@ -600,7 +600,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