summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2015-10-08 09:25:16 +0300
committerTapani Pälli <[email protected]>2015-10-08 09:25:16 +0300
commitaee28a0aa3bb77b728972d4efcdf93c1cc09c73b (patch)
treedc7790efc8435be71d82a3c34acb18d2425b7c32
parent4e7fd66cf0986a7eb58800f52d0b8709c2f997d6 (diff)
mesa: include bad type in error string of _mesa_pack_depth_span
Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r--src/mesa/main/pack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c
index ef89e751a4c..00e31b05c99 100644
--- 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);