summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_state_static.c
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-10-08 20:19:53 -0700
committerStéphane Marchesin <[email protected]>2011-10-08 20:19:53 -0700
commite125786be8e19a9606afb91cd7e8bc37d035b63f (patch)
tree293d3c4f4a79fa3b5cf8c2298884bdc75719ff1e /src/gallium/drivers/i915/i915_state_static.c
parent49fea2e039ca6bc1d134be09144d3ace3384255b (diff)
i915g: Silence warning.
Diffstat (limited to 'src/gallium/drivers/i915/i915_state_static.c')
-rw-r--r--src/gallium/drivers/i915/i915_state_static.c2
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 7f60311cebb..1ef6a0d68b0 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)