projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a62f031
)
mesa: include texture format in glGenerateMipmap error message
author
Brian Paul
<brianp@vmware.com>
Wed, 4 May 2016 20:01:29 +0000
(14:01 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 4 May 2016 20:49:39 +0000
(14:49 -0600)
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/mesa/main/genmipmap.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/genmipmap.c
b/src/mesa/main/genmipmap.c
index 1a6ae9a5f3c26892c9b1c6105a6d68f29d0cc7d5..d917220f7e8da2a1ddf137f9006a0e9df2b98bdc 100644
(file)
--- a/
src/mesa/main/genmipmap.c
+++ b/
src/mesa/main/genmipmap.c
@@
-139,7
+139,8
@@
_mesa_generate_texture_mipmap(struct gl_context *ctx,
srcImage->InternalFormat)) {
_mesa_unlock_texture(ctx, texObj);
_mesa_error(ctx, GL_INVALID_OPERATION,
- "glGenerate%sMipmap(invalid internal format)", suffix);
+ "glGenerate%sMipmap(invalid internal format %s)", suffix,
+ _mesa_enum_to_string(srcImage->InternalFormat));
return;
}