aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/texparam.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-11-21 09:01:21 +0100
committermarha <marha@users.sourceforge.net>2012-11-21 09:01:21 +0100
commit38eb7612c4b39dd69df4baf4450ba512e888effa (patch)
tree0d6fa65cb5deba8a894bfb4d2a86d31b7ed59446 /mesalib/src/mesa/main/texparam.c
parentb3e1e62c45f525cdd332073aaa34d8452cb23374 (diff)
downloadvcxsrv-38eb7612c4b39dd69df4baf4450ba512e888effa.tar.gz
vcxsrv-38eb7612c4b39dd69df4baf4450ba512e888effa.tar.bz2
vcxsrv-38eb7612c4b39dd69df4baf4450ba512e888effa.zip
Git update 21 nov 2012
fontconfig: 376fc9d22f1480ac380a3845f4cb4fe227e4be9a mesa: d82b873a501606d62b9f208b6d5cda79c9a6b4b8 xkeyboard-config: 0be23e0774bebdaa9766ddd7a1f3cf088d079bf0
Diffstat (limited to 'mesalib/src/mesa/main/texparam.c')
-rw-r--r--mesalib/src/mesa/main/texparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/texparam.c b/mesalib/src/mesa/main/texparam.c
index 8ce054618..92c89102f 100644
--- a/mesalib/src/mesa/main/texparam.c
+++ b/mesalib/src/mesa/main/texparam.c
@@ -349,7 +349,7 @@ set_tex_parameteri(struct gl_context *ctx,
if (texObj->MaxLevel == params[0])
return GL_FALSE;
if (params[0] < 0 || texObj->Target == GL_TEXTURE_RECTANGLE_ARB) {
- _mesa_error(ctx, GL_INVALID_OPERATION,
+ _mesa_error(ctx, GL_INVALID_VALUE,
"glTexParameter(param=%d)", params[0]);
return GL_FALSE;
}