swrast: Print out format on unexpected failure in _swrast_DrawPixels.

This commit is contained in:
Vinson Lee 2010-10-20 15:27:48 -07:00
parent b970da4d24
commit 2e5764ccf4

View file

@ -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 */
}