diff options
author | Vinson Lee <[email protected]> | 2010-10-27 10:16:18 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-10-27 10:16:18 -0700 |
commit | 80adc8ac3b45ee43f1e5f12164a56d63e63a2e65 (patch) | |
tree | 97c20954de50e1c713381f9cd0db2e2d66f9b7f1 /src | |
parent | 1b92eb1a4b73c647ab42ac97809466bba8720d7b (diff) |
swrast: Print out format on unexpected failure in _swrast_ReadPixels.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/swrast/s_readpix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_readpix.c b/src/mesa/swrast/s_readpix.c index 6ddacab1cb1..5e6356c0d54 100644 --- a/src/mesa/swrast/s_readpix.c +++ b/src/mesa/swrast/s_readpix.c @@ -514,7 +514,7 @@ _swrast_ReadPixels( struct gl_context *ctx, type, pixels, &clippedPacking); break; default: - _mesa_problem(ctx, "unexpected format in _swrast_ReadPixels"); + _mesa_problem(ctx, "unexpected format 0x%x in _swrast_ReadPixels", format); /* don't return yet, clean-up */ } |