diff options
author | Vinson Lee <vlee@vmware.com> | 2010-10-20 15:27:48 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-10-20 15:27:48 -0700 |
commit | 2e5764ccf440e59fc6f8441e329c0747ef4ed57b (patch) | |
tree | 2c62b06202f1b6be3c9d75cedf6b22bab9c646f7 /src/mesa | |
parent | b970da4d24ce67d5dd0f099bd49bb90e6d82e61e (diff) |
swrast: Print out format on unexpected failure in _swrast_DrawPixels.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/swrast/s_drawpix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index 4e7cd9414f..8fbb0a8d10 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 */ } |