summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_context.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-05-29 15:39:51 +0200
committerMarek Olšák <[email protected]>2010-05-29 15:41:22 +0200
commit7d9396d7cfd4d9472e05f83bf20d7278d37efb4d (patch)
tree23133754ca99dc7085c828f152d13f6239ad2352 /src/gallium/drivers/r600/r600_context.h
parent1d57b6ebd186217a5c480245a36d169d357b8e67 (diff)
r600g: fix gallium function parameters
Diffstat (limited to 'src/gallium/drivers/r600/r600_context.h')
-rw-r--r--src/gallium/drivers/r600/r600_context.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r600/r600_context.h b/src/gallium/drivers/r600/r600_context.h
index a5149038e22..cfaca6d23f0 100644
--- a/src/gallium/drivers/r600/r600_context.h
+++ b/src/gallium/drivers/r600/r600_context.h
@@ -82,12 +82,12 @@ struct r600_context {
void r600_draw_arrays(struct pipe_context *ctx, unsigned mode,
unsigned start, unsigned count);
void r600_draw_elements(struct pipe_context *ctx,
- struct pipe_buffer *index_buffer,
- unsigned index_size, unsigned index_bias, unsigned mode,
+ struct pipe_resource *index_buffer,
+ unsigned index_size, int index_bias, unsigned mode,
unsigned start, unsigned count);
void r600_draw_range_elements(struct pipe_context *ctx,
- struct pipe_buffer *index_buffer,
- unsigned index_size, unsigned index_bias, unsigned min_index,
+ struct pipe_resource *index_buffer,
+ unsigned index_size, int index_bias, unsigned min_index,
unsigned max_index, unsigned mode,
unsigned start, unsigned count);