projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e7fd66
)
mesa: include bad type in error string of _mesa_pack_depth_span
author
Tapani Pälli
<tapani.palli@intel.com>
Thu, 8 Oct 2015 06:25:16 +0000
(09:25 +0300)
committer
Tapani Pälli
<tapani.palli@intel.com>
Thu, 8 Oct 2015 06:25:16 +0000
(09:25 +0300)
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/pack.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/pack.c
b/src/mesa/main/pack.c
index
ef89e75
..
00e31b0
100644
(file)
--- a/
src/mesa/main/pack.c
+++ b/
src/mesa/main/pack.c
@@
-1123,7
+1123,8
@@
_mesa_pack_depth_span( struct gl_context *ctx, GLuint n, GLvoid *dest,
}
break;
default:
- _mesa_problem(ctx, "bad type in _mesa_pack_depth_span");
+ _mesa_problem(ctx, "bad type in _mesa_pack_depth_span (%s)",
+ _mesa_enum_to_string(dstType));
}
free(depthCopy);