projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772f429
)
mesa: print enum string in compressed_subtexture_error_check() error msg
author
Brian Paul
<brianp@vmware.com>
Tue, 1 Dec 2015 21:35:14 +0000
(14:35 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 2 Dec 2015 17:28:15 +0000
(10:28 -0700)
Trivial.
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 37dbe267e68d8ef4adb9cab4044f8a0f04fa08b4..d5fe03485c28de218d0444c34da28dc3c7ac8a90 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-4303,8
+4303,8
@@
compressed_subtexture_error_check(struct gl_context *ctx, GLint dims,
if ((GLint) format != texImage->InternalFormat) {
_mesa_error(ctx, GL_INVALID_OPERATION,
- "%s(format=
0x%x
)",
- callerName,
format
);
+ "%s(format=
%s
)",
+ callerName,
_mesa_enum_to_string(format)
);
return GL_TRUE;
}