aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_cmdbuf.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-03-06 23:42:35 +1100
committerDave Airlie <[email protected]>2009-03-06 23:42:35 +1100
commit760068cc8d5b443c4c6545870fa4f7eda7c6e775 (patch)
treeb906c82a1afc5ace5240e0e032726716e81bd157 /src/mesa/drivers/dri/r300/r300_cmdbuf.c
parente0313ef061c2988cc9df9b8a016ba06fd2ba7ce7 (diff)
r300: fix uninit variable warning
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_cmdbuf.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_cmdbuf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
index 231576fed89..3626b877eb9 100644
--- 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)