summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pack.c
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2015-10-08 09:25:16 +0300
committerTapani Pälli <tapani.palli@intel.com>2015-10-08 09:25:16 +0300
commitaee28a0aa3bb77b728972d4efcdf93c1cc09c73b (patch)
treedc7790efc8435be71d82a3c34acb18d2425b7c32 /src/mesa/main/pack.c
parent4e7fd66cf0986a7eb58800f52d0b8709c2f997d6 (diff)
downloadexternal_mesa3d-aee28a0aa3bb77b728972d4efcdf93c1cc09c73b.zip
external_mesa3d-aee28a0aa3bb77b728972d4efcdf93c1cc09c73b.tar.gz
external_mesa3d-aee28a0aa3bb77b728972d4efcdf93c1cc09c73b.tar.bz2
mesa: include bad type in error string of _mesa_pack_depth_span
Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/pack.c')
-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 ef89e75..00e31b0 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);