mesa: minor error msg improvement

This commit is contained in:
Brian Paul 2009-02-03 16:33:12 -07:00
parent e92d97d75b
commit 803504e69f

View file

@ -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;
}