diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2011-07-25 21:13:43 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2011-07-28 14:23:08 -0700 |
commit | 69720cb0c4bff7734d8e4b92f7106f111ba2fb3a (patch) | |
tree | b706e3fa9fa482b9ada46156db0d2fb98719e57f | |
parent | 8589ca000a94254931100383bc961832918d4aa0 (diff) |
i965: Remove the now unused intel_renderbuffer::draw_offset field.
The previous commit removed the last use of this field.
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit f73caddd3339d284556036d031ab30ce8057a510)
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index 1beb9c9a72d..d92732c5ad7 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -637,7 +637,6 @@ intel_renderbuffer_set_draw_offset(struct intel_renderbuffer *irb, zoffset, &dst_x, &dst_y); - irb->draw_offset = (dst_y * mt->region->pitch + dst_x) * mt->cpp; irb->draw_x = dst_x; irb->draw_y = dst_y; } diff --git a/src/mesa/drivers/dri/intel/intel_fbo.h b/src/mesa/drivers/dri/intel/intel_fbo.h index cbf29c86257..fd2ae0ed306 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.h +++ b/src/mesa/drivers/dri/intel/intel_fbo.h @@ -58,7 +58,6 @@ struct intel_renderbuffer /** \} */ - GLuint draw_offset; /**< Offset of drawing address within the region */ GLuint draw_x, draw_y; /**< Offset of drawing within the region */ }; |