aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/texenv.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-09-20 08:40:57 +0200
committermarha <marha@users.sourceforge.net>2011-09-20 08:40:57 +0200
commit0470a59df89ab453bdbe0fc2f820278cfffdc61c (patch)
tree5482d527c8426219414edc60d3891764ca2b1a20 /mesalib/src/mesa/main/texenv.c
parentb2c925e360e2c366526de15b44603f855f94139c (diff)
downloadvcxsrv-0470a59df89ab453bdbe0fc2f820278cfffdc61c.tar.gz
vcxsrv-0470a59df89ab453bdbe0fc2f820278cfffdc61c.tar.bz2
vcxsrv-0470a59df89ab453bdbe0fc2f820278cfffdc61c.zip
libX11 libxtrans mesa git update 20 sep 2011
Diffstat (limited to 'mesalib/src/mesa/main/texenv.c')
-rw-r--r--mesalib/src/mesa/main/texenv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/texenv.c b/mesalib/src/mesa/main/texenv.c
index c0d0f3779..1df3890d4 100644
--- a/mesalib/src/mesa/main/texenv.c
+++ b/mesalib/src/mesa/main/texenv.c
@@ -731,7 +731,8 @@ get_texenvi(struct gl_context *ctx, const struct gl_texture_unit *texUnit,
break;
default:
- ;
+ _mesa_error(ctx, GL_INVALID_ENUM, "glGetTexEnvfv(pname)");
+ break;
}
return -1; /* error */