projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f39ec
)
mesa: adjust error message when there's a missing teximage
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Wed, 22 Jul 2015 16:39:47 +0000
(12:39 -0400)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Thu, 23 Jul 2015 20:22:52 +0000
(16:22 -0400)
The current message makes it seem like the zoffset is invalid.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texgetimage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texgetimage.c
b/src/mesa/main/texgetimage.c
index 59ec091257e52d951a00877672ddd099705c92e1..2f35ac6d77a22e38e38186e4cb91ec96993493d6 100644
(file)
--- a/
src/mesa/main/texgetimage.c
+++ b/
src/mesa/main/texgetimage.c
@@
-1013,8
+1013,7
@@
dimensions_error_check(struct gl_context *ctx,
texImage = select_tex_image(texObj, target, level, zoffset);
if (!texImage) {
/* missing texture image */
- _mesa_error(ctx, GL_INVALID_OPERATION,
- "%s(zoffset = %d)", caller, zoffset);
+ _mesa_error(ctx, GL_INVALID_OPERATION, "%s(missing image)", caller);
return true;
}