Module: Mesa Branch: 8.0 Commit: 076805c9c2de2436782aa111e09d09e34a5d3f7c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=076805c9c2de2436782aa111e09d09e34a5d3f7c
Author: Brian Paul <[email protected]> Date: Tue Jul 3 10:48:33 2012 -0600 mesa: fix missing return value in getteximage_error_check() --- src/mesa/main/texgetimage.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c index 254199b..411a924 100644 --- a/src/mesa/main/texgetimage.c +++ b/src/mesa/main/texgetimage.c @@ -734,7 +734,7 @@ getteximage_error_check(struct gl_context *ctx, GLenum target, GLint level, if (!ctx->Extensions.ATI_envmap_bumpmap && _mesa_is_dudv_format(format)) { _mesa_error(ctx, GL_INVALID_ENUM, "glGetTexImage(format)"); - return; + return GL_TRUE; } err = _mesa_error_check_format_and_type(ctx, format, type); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
