summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-10-04 15:06:27 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-10-04 15:06:27 +0000
commitda62bcecfb92978d7243928cfa0fb076b3de762d (patch)
tree32eb1d79f8159cd561834d4d5a96f3827e97b04f /src/mesa
parent3fd5aa88eaa6584c9d7292dd0d98499ff1055055 (diff)
minor formatting fix
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/teximage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 14024fec04..c2ba450cb3 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -1596,7 +1596,7 @@ subtexture_error_check( GLcontext *ctx, GLuint dimensions,
}
else if (dimensions == 2) {
if (target >= GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB &&
- target <=GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB) {
+ target <= GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB) {
if (!ctx->Extensions.ARB_texture_cube_map) {
_mesa_error( ctx, GL_INVALID_ENUM, "glTexSubImage2D(target)" );
return GL_TRUE;