projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c8bed6
)
mesa: better error message
author
Brian Paul
<brianp@vmware.com>
Sat, 31 Oct 2009 01:03:44 +0000
(19:03 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sat, 31 Oct 2009 01:08:18 +0000
(19:08 -0600)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 73a555a1816710ab64501dd33ce05814cc856dfa..69ef2cca5ee7f08617f307362039e1625f960781 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-1268,8
+1268,8
@@
texture_error_check( GLcontext *ctx, GLenum target,
if (_mesa_base_tex_format(ctx, internalFormat) < 0) {
if (!isProxy) {
_mesa_error(ctx, GL_INVALID_VALUE,
- "glTexImage%dD(internalFormat=
0x%x
)",
- dimensions,
internalFormat
);
+ "glTexImage%dD(internalFormat=
%s
)",
+ dimensions,
_mesa_lookup_enum_by_nr(internalFormat)
);
}
return GL_TRUE;
}