summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_state.c
diff options
context:
space:
mode:
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 aa3fe7837e..319d53fcca 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;