From: Vinson Lee Date: Wed, 20 Oct 2010 22:27:48 +0000 (-0700) Subject: swrast: Print out format on unexpected failure in _swrast_DrawPixels. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e5764ccf440e59fc6f8441e329c0747ef4ed57b;p=mesa.git swrast: Print out format on unexpected failure in _swrast_DrawPixels. --- diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index 4e7cd9414fd..8fbb0a8d101 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src/mesa/swrast/s_drawpix.c @@ -751,7 +751,7 @@ _swrast_DrawPixels( struct gl_context *ctx, type, unpack, pixels); break; default: - _mesa_problem(ctx, "unexpected format in _swrast_DrawPixels"); + _mesa_problem(ctx, "unexpected format 0x%x in _swrast_DrawPixels", format); /* don't return yet, clean-up */ }