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>
This commit is contained in:
@@ -606,7 +606,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;
|
||||
}
|
||||
|
||||
@@ -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 */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user