summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-10-27 10:16:18 -0700
committerVinson Lee <vlee@vmware.com>2010-10-27 10:16:18 -0700
commit80adc8ac3b45ee43f1e5f12164a56d63e63a2e65 (patch)
tree97c20954de50e1c713381f9cd0db2e2d66f9b7f1 /src/mesa/swrast
parent1b92eb1a4b73c647ab42ac97809466bba8720d7b (diff)
swrast: Print out format on unexpected failure in _swrast_ReadPixels.
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_readpix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_readpix.c b/src/mesa/swrast/s_readpix.c
index 6ddacab1cb..5e6356c0d5 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 */
}