Commit 28f8b868 authored by Keith Whitwell's avatar Keith Whitwell

r300g: update after merge for pipe_resources

parent 248c93cb
......@@ -306,7 +306,7 @@ struct r300_context {
unsigned mode, unsigned count);
void (*emit_draw_elements)(
struct r300_context *r300, struct pipe_buffer* indexBuffer,
struct r300_context *r300, struct pipe_resource* indexBuffer,
unsigned indexSize, unsigned minIndex, unsigned maxIndex,
unsigned mode, unsigned start, unsigned count);
......@@ -412,7 +412,7 @@ struct r300_context {
};
/* Convenience cast wrapper. */
static INLINE struct r300_texture* r300_texture(struct pipe_texture* tex)
static INLINE struct r300_texture* r300_texture(struct pipe_resource* tex)
{
return (struct r300_texture*)tex;
}
......
......@@ -432,7 +432,7 @@ void r300_emit_draw_arrays(struct r300_context *r300,
}
void r300_emit_draw_elements(struct r300_context *r300,
struct pipe_buffer* indexBuffer,
struct pipe_resource* indexBuffer,
unsigned indexSize,
unsigned minIndex,
unsigned maxIndex,
......
......@@ -35,7 +35,7 @@ void r500_emit_draw_arrays(struct r300_context *r300,
unsigned count);
void r500_emit_draw_elements(struct r300_context *r300,
struct pipe_buffer* indexBuffer,
struct pipe_resource* indexBuffer,
unsigned indexSize,
unsigned minIndex,
unsigned maxIndex,
......@@ -53,7 +53,7 @@ void r300_emit_draw_arrays(struct r300_context *r300,
unsigned count);
void r300_emit_draw_elements(struct r300_context *r300,
struct pipe_buffer* indexBuffer,
struct pipe_resource* indexBuffer,
unsigned indexSize,
unsigned minIndex,
unsigned maxIndex,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment