i915g: Silence warning.
authorStéphane Marchesin <marcheu@chromium.org>
Sun, 9 Oct 2011 03:19:53 +0000 (20:19 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Sun, 9 Oct 2011 03:19:53 +0000 (20:19 -0700)
src/gallium/drivers/i915/i915_state_static.c

index 7f60311cebbcf1b20880df3da8c42d1cb1ad0f62..1ef6a0d68b0de8d4bbbe66cda0c97db5ea5d7735 100644 (file)
@@ -198,7 +198,7 @@ static void update_dst_buf_vars(struct i915_context *i915)
    struct pipe_surface *depth_surface = i915->framebuffer.zsbuf;
    uint32_t dst_buf_vars, cformat, zformat;
    uint32_t early_z = 0;
-   uint32_t fixup;
+   uint32_t fixup = 0;
    int need_fixup;
 
    if (cbuf_surface)