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

Author: Jakob Bornecrantz <[email protected]>
Date:   Tue Feb 24 23:58:11 2009 +0100

i915: Fix some warnings

---

 src/gallium/drivers/i915simple/i915_state_emit.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/i915simple/i915_state_emit.c 
b/src/gallium/drivers/i915simple/i915_state_emit.c
index 26e03f5..1e1fb96 100644
--- a/src/gallium/drivers/i915simple/i915_state_emit.c
+++ b/src/gallium/drivers/i915simple/i915_state_emit.c
@@ -214,7 +214,6 @@ i915_emit_hardware_state(struct i915_context *i915 )
         unsigned ctile = BUF_3D_USE_FENCE;
          struct i915_texture *tex = (struct i915_texture *)
                                     cbuf_surface->texture;
-         struct pipe_buffer *buffer = tex->buffer;
          assert(tex);
 
         if (tex && tex->tiled) {
@@ -238,7 +237,6 @@ i915_emit_hardware_state(struct i915_context *i915 )
         unsigned ztile = BUF_3D_USE_FENCE;
          struct i915_texture *tex = (struct i915_texture *)
                                     depth_surface->texture;
-         struct pipe_buffer *buffer = tex->buffer;
          assert(tex);
 
         if (tex && tex->tiled) {

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to