i915: Fix offsets not being used for surface targets

This commit is contained in:
Jakob Bornecrantz 2008-06-13 19:07:29 +02:00
parent c341094921
commit d1397fd779

View file

@ -222,7 +222,7 @@ i915_emit_hardware_state(struct i915_context *i915 )
OUT_RELOC(cbuf_surface->buffer,
I915_BUFFER_ACCESS_WRITE,
0);
cbuf_surface->offset);
}
/* What happens if no zbuf??
@ -238,7 +238,7 @@ i915_emit_hardware_state(struct i915_context *i915 )
OUT_RELOC(depth_surface->buffer,
I915_BUFFER_ACCESS_WRITE,
0);
depth_surface->offset);
}
{