diff options
author | Brian Paul <brianp@vmware.com> | 2009-02-03 16:33:12 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-02-04 16:33:25 -0700 |
commit | 803504e69fbd85713fc6d93af21f5245852cecab (patch) | |
tree | 78d6677bb9b5ffcc3f2e32f86d0e3877cc11b64e /src/mesa | |
parent | e92d97d75bcd1ac2caafc2a565b304639cedd520 (diff) |
mesa: minor error msg improvement
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 d119d22b54..9519d89e4a 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; } |