projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b970da4
)
swrast: Print out format on unexpected failure in _swrast_DrawPixels.
author
Vinson Lee
<vlee@vmware.com>
Wed, 20 Oct 2010 22:27:48 +0000
(15:27 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 20 Oct 2010 22:27:48 +0000
(15:27 -0700)
src/mesa/swrast/s_drawpix.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_drawpix.c
b/src/mesa/swrast/s_drawpix.c
index 4e7cd9414fdfac6e75786d1669c9752fa9013110..8fbb0a8d101e21e79b72353160d323d5fabf1280 100644
(file)
--- 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 */
}