From: Brian Paul Date: Tue, 3 Feb 2009 23:33:12 +0000 (-0700) Subject: mesa: minor error msg improvement X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=803504e69fbd85713fc6d93af21f5245852cecab;p=mesa.git mesa: minor error msg improvement --- diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index d119d22b546..9519d89e4a0 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; }