projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
552e2b5
)
llvmpipe: Silence some warnings.
author
José Fonseca
<jfonseca@vmware.com>
Sat, 11 Sep 2010 12:47:58 +0000
(13:47 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Sat, 11 Sep 2010 12:47:58 +0000
(13:47 +0100)
src/gallium/drivers/llvmpipe/lp_scene.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_scene.h
b/src/gallium/drivers/llvmpipe/lp_scene.h
index dee780c1cde22571b418064059d0cf1adc7c4a0f..fff849fe5180b5d7356c164d29edb2f5a832eec5 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_scene.h
+++ b/
src/gallium/drivers/llvmpipe/lp_scene.h
@@
-207,7
+207,7
@@
lp_scene_alloc( struct lp_scene *scene, unsigned size)
assert(block != NULL);
if (LP_DEBUG & DEBUG_MEM)
- debug_printf("alloc %
d block %d/%d tot %d/%d
\n",
+ debug_printf("alloc %
u block %u/%lu tot %u/%u
\n",
size, block->used, DATA_BLOCK_SIZE,
scene->scene_size, LP_SCENE_MAX_SIZE);
@@
-240,7
+240,7
@@
lp_scene_alloc_aligned( struct lp_scene *scene, unsigned size,
assert(block != NULL);
if (LP_DEBUG & DEBUG_MEM)
- debug_printf("alloc %
d block %d/%d tot %d/%d
\n",
+ debug_printf("alloc %
u block %u/%lu tot %u/%u
\n",
size + alignment - 1,
block->used, DATA_BLOCK_SIZE,
scene->scene_size, LP_SCENE_MAX_SIZE);