diff options
author | Brian Paul <[email protected]> | 2009-12-11 09:22:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-12-11 09:22:00 -0700 |
commit | b605f4ff11c894500f2d0273c5d4653ff413448d (patch) | |
tree | 144a2202677b29020bfb0477d145a985cae3c29f /src/mesa/main/texobj.c | |
parent | da3bc492d2438ac915e720c17b54d0d12ffd8a97 (diff) | |
parent | 5076a4f53a2f34cc9116b45951037f639885c7a1 (diff) |
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r-- | src/mesa/main/texobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index aaccc03a7c6..237b6eb00d4 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -415,7 +415,7 @@ _mesa_test_texobj_completeness( const GLcontext *ctx, /* Detect cases where the application set the base level to an invalid * value. */ - if ((baseLevel < 0) || (baseLevel > MAX_TEXTURE_LEVELS)) { + if ((baseLevel < 0) || (baseLevel >= MAX_TEXTURE_LEVELS)) { char s[100]; _mesa_sprintf(s, "base level = %d is invalid", baseLevel); incomplete(t, s); |