projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e92d97d
)
mesa: minor error msg improvement
author
Brian Paul
<brianp@vmware.com>
Tue, 3 Feb 2009 23:33:12 +0000
(16:33 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 4 Feb 2009 23:33:25 +0000
(16:33 -0700)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index d119d22b5468a9d67be3e135dd0c325414864e93..9519d89e4a09c17a56d79dfd7c48cbb445f80ae0 100644
(file)
--- 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;
}