minor formatting fix
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 4 Oct 2006 15:06:27 +0000 (15:06 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 4 Oct 2006 15:06:27 +0000 (15:06 +0000)
src/mesa/main/teximage.c

index 14024fec04781ba10dea62b5c157a1d1554574b8..c2ba450cb3fa083d383edb2df7fffcc337ec7ecd 100644 (file)
@@ -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;