summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_state.c
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-03-11 19:22:02 +0100
committerPatrice Mandin <[email protected]>2008-03-11 19:58:16 +0100
commit169912b71a4242389301890ef303046d49ce71df (patch)
tree985a6591b7e204ebdfb01ac25c4e000d48fac404 /src/gallium/drivers/nv30/nv30_state.c
parentcd9ed05aec9d1d9614973165fd13647ba2e1b8c7 (diff)
nv30: silence some warnings
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_state.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_state.c b/src/gallium/drivers/nv30/nv30_state.c
index aa3fe7837e4..319d53fccac 100644
--- a/src/gallium/drivers/nv30/nv30_state.c
+++ b/src/gallium/drivers/nv30/nv30_state.c
@@ -538,7 +538,7 @@ nv30_set_framebuffer_state(struct pipe_context *pipe,
{
struct nv30_context *nv30 = nv30_context(pipe);
struct pipe_surface *rt[4], *zeta = NULL;
- uint32_t rt_enable, rt_format, w, h;
+ uint32_t rt_enable, rt_format, w = 0, h = 0;
int i, colour_format = 0, zeta_format = 0;
rt_enable = 0;