projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b92eb1
)
swrast: Print out format on unexpected failure in _swrast_ReadPixels.
author
Vinson Lee
<vlee@vmware.com>
Wed, 27 Oct 2010 17:16:18 +0000
(10:16 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 27 Oct 2010 17:16:18 +0000
(10:16 -0700)
src/mesa/swrast/s_readpix.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_readpix.c
b/src/mesa/swrast/s_readpix.c
index 6ddacab1cb1663993f29135cbd0948f443727c59..5e6356c0d549e14b62915a69c8a419e0f2c89c3a 100644
(file)
--- 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 */
}