diff options
author | Vinson Lee <[email protected]> | 2010-04-17 21:21:31 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-04-17 21:21:31 -0700 |
commit | 891e9d6f3f123e9e4a89743535d18bfb543626d3 (patch) | |
tree | db37d10da35bf05313a6a03041b3d2d3e2adc4fa /src/gallium/drivers/nv50/nv50_state_validate.c | |
parent | b054d7912d68f2b053f5c6a80fa5bf7600d2fdd6 (diff) |
nv50: Initialize variables.
Silences GCC uninitialized variable warnings.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_state_validate.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_state_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c index 5cac3a29e49..14c3490599d 100644 --- a/src/gallium/drivers/nv50/nv50_state_validate.c +++ b/src/gallium/drivers/nv50/nv50_state_validate.c @@ -32,7 +32,7 @@ validate_fb(struct nv50_context *nv50) struct nouveau_grobj *tesla = nv50->screen->tesla; struct nouveau_stateobj *so = so_new(32, 79, 18); struct pipe_framebuffer_state *fb = &nv50->framebuffer; - unsigned i, w, h, gw = 0; + unsigned i, w = 0, h = 0, gw = 0; /* Set nr of active RTs and select RT for each colour output. * FP result 0 always goes to RT[0], bits 4 - 6 are ignored. |