projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7089467
)
gallium: Initialize var before use.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 30 Dec 2008 19:21:30 +0000
(19:21 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 30 Dec 2008 19:21:30 +0000
(19:21 +0000)
src/gallium/auxiliary/util/u_gen_mipmap.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_gen_mipmap.c
b/src/gallium/auxiliary/util/u_gen_mipmap.c
index 30f161fe3b32dab35956a273de86b369af22f54c..b5eb896b7a14ec15c745c94857229948d2489109 100644
(file)
--- a/
src/gallium/auxiliary/util/u_gen_mipmap.c
+++ b/
src/gallium/auxiliary/util/u_gen_mipmap.c
@@
-1198,7
+1198,7
@@
make_3d_mipmap(struct gen_mipmap_state *ctx,
{
struct pipe_context *pipe = ctx->pipe;
struct pipe_screen *screen = pipe->screen;
- uint dstLevel, zslice;
+ uint dstLevel, zslice
= 0
;
assert(pt->block.width == 1);
assert(pt->block.height == 1);