From: Tapani Pälli Date: Thu, 8 Oct 2015 06:25:16 +0000 (+0300) Subject: mesa: include bad type in error string of _mesa_pack_depth_span X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aee28a0aa3bb77b728972d4efcdf93c1cc09c73b;p=mesa.git mesa: include bad type in error string of _mesa_pack_depth_span Signed-off-by: Tapani Pälli Reviewed-by: Ian Romanick --- 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);