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>
This commit is contained in:
Tapani Pälli 2015-10-08 09:25:16 +03:00
parent 4e7fd66cf0
commit aee28a0aa3

View file

@ -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);