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:
e0313ef
)
r300: fix uninit variable warning
author
Dave Airlie
<airlied@redhat.com>
Fri, 6 Mar 2009 12:42:35 +0000
(23:42 +1100)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 6 Mar 2009 12:42:35 +0000
(23:42 +1100)
src/mesa/drivers/dri/r300/r300_cmdbuf.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_cmdbuf.c
b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
index
231576f
..
3626b87
100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_cmdbuf.c
+++ b/
src/mesa/drivers/dri/r300/r300_cmdbuf.c
@@
-268,8
+268,7
@@
static void emit_zstencil_format(GLcontext *ctx, struct radeon_state_atom * atom
r300ContextPtr r300 = R300_CONTEXT(ctx);
BATCH_LOCALS(&r300->radeon);
struct radeon_renderbuffer *rrb;
- uint32_t zbpitch;
- uint32_t format;
+ uint32_t format = 0;
rrb = radeon_get_depthbuffer(&r300->radeon);
if (!rrb)