Module: Mesa Branch: master Commit: 803504e69fbd85713fc6d93af21f5245852cecab URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=803504e69fbd85713fc6d93af21f5245852cecab
Author: Brian Paul <[email protected]> Date: Tue Feb 3 16:33:12 2009 -0700 mesa: minor error msg improvement --- src/mesa/main/teximage.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index d119d22..9519d89 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -2168,7 +2168,8 @@ copytexsubimage_error_check2( GLcontext *ctx, GLuint dimensions, if (!_mesa_source_buffer_exists(ctx, teximage->_BaseFormat)) { _mesa_error(ctx, GL_INVALID_OPERATION, - "glCopyTexSubImage%dD(missing readbuffer)", dimensions); + "glCopyTexSubImage%dD(missing readbuffer, format=0x%x)", + dimensions, teximage->_BaseFormat); return GL_TRUE; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
