summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-05-07 21:46:09 +0200
committerMarek Olšák <maraeo@gmail.com>2010-05-08 23:03:44 +0200
commitda180a8d34a3d17345d71b215a7d20f24fe4b078 (patch)
treef8dada26c3e995a62fd825aa0828ced16a31f125 /src/gallium/drivers/r300/r300_context.h
parente9fc5b463f994b3dc1ac8ad2d574e24025d9926e (diff)
r300g: consolidate common render code into one function
This reduces redundant code by moving: - CS space reservation - buffer validation - dirty state emission - index bias emission - AOS emission into r300_prepare_for_rendering.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index e9c8fcdc15..2e91a5b265 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -331,8 +331,7 @@ struct r300_context {
void (*emit_draw_elements)(
struct r300_context *r300, struct pipe_resource* indexBuffer,
- unsigned indexSize, int indexBias,
- unsigned minIndex, unsigned maxIndex,
+ unsigned indexSize, unsigned minIndex, unsigned maxIndex,
unsigned mode, unsigned start, unsigned count);