OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5888d3
)
util: Match printf format to silence warning.
author
José Fonseca
<jfonseca@vmware.com>
Sat, 21 Aug 2010 09:38:22 +0000
(10:38 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Sat, 21 Aug 2010 09:38:22 +0000
(10:38 +0100)
src/gallium/auxiliary/util/u_debug_describe.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_debug_describe.c
b/src/gallium/auxiliary/util/u_debug_describe.c
index
5c7808f
..
343358d
100644
(file)
--- a/
src/gallium/auxiliary/util/u_debug_describe.c
+++ b/
src/gallium/auxiliary/util/u_debug_describe.c
@@
-13,7
+13,7
@@
void
debug_describe_resource(char* buf, const struct pipe_resource *ptr)
{
if(ptr->target == PIPE_BUFFER)
- util_sprintf(buf, "pipe_buffer<%u>", util_format_get_stride(ptr->format, ptr->width0));
+ util_sprintf(buf, "pipe_buffer<%u>",
(unsigned)
util_format_get_stride(ptr->format, ptr->width0));
else if(ptr->target == PIPE_TEXTURE_1D)
util_sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->last_level);
else if(ptr->target == PIPE_TEXTURE_2D)