diff options
author | nobled <nobled@dreamwidth.org> | 2011-10-19 07:54:06 -0400 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2011-11-03 15:27:08 -0700 |
commit | ac0ec07e6c8bad958f583aae192fe5a80a63da7b (patch) | |
tree | 84fd16866e04e7925bd85d5c4d3b83370baaafd3 /src/mesa/main/texgetimage.c | |
parent | bf5255fb30d9d9832f93616016c94782469d43ad (diff) | |
download | external_mesa3d-ac0ec07e6c8bad958f583aae192fe5a80a63da7b.zip external_mesa3d-ac0ec07e6c8bad958f583aae192fe5a80a63da7b.tar.gz external_mesa3d-ac0ec07e6c8bad958f583aae192fe5a80a63da7b.tar.bz2 |
texgetimage: add missing return on error
Missed this back in the arb_robustness branch
<6b329b9274b18c50f4177eef7ee087d50ebc1525>.
NOTE: This is a candidate for the 7.11 branch.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/texgetimage.c')
-rw-r--r-- | src/mesa/main/texgetimage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c index 3adf7e3..31d49f2 100644 --- a/src/mesa/main/texgetimage.c +++ b/src/mesa/main/texgetimage.c @@ -851,6 +851,7 @@ getcompressedteximage_error_check(struct gl_context *ctx, GLenum target, _mesa_error(ctx, GL_INVALID_OPERATION, "glGetnCompressedTexImageARB(out of bounds access:" " bufSize (%d) is too small)", clientMemSize); + return GL_TRUE; } } else { /* do bounds checking on PBO write */ |