Mesa (master): i915g: Silence warning.

Stephane Marchesin marcheu at kemper.freedesktop.org
Sun Oct 9 06:54:56 UTC 2011


Module: Mesa
Branch: master
Commit: e125786be8e19a9606afb91cd7e8bc37d035b63f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e125786be8e19a9606afb91cd7e8bc37d035b63f

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Sat Oct  8 20:19:53 2011 -0700

i915g: Silence warning.

---

 src/gallium/drivers/i915/i915_state_static.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/i915/i915_state_static.c b/src/gallium/drivers/i915/i915_state_static.c
index 7f60311..1ef6a0d 100644
--- a/src/gallium/drivers/i915/i915_state_static.c
+++ b/src/gallium/drivers/i915/i915_state_static.c
@@ -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)




More information about the mesa-commit mailing list