aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_draw.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-05-27 11:41:21 -0700
committerKenneth Graunke <[email protected]>2013-10-31 11:04:37 -0700
commitb2ff11618fa6036744d8ab12730865b3adf81765 (patch)
treed3c78e077e43163cc2c379dc283fbb9d9809c5cb /src/mesa/drivers/dri/i965/brw_draw.h
parentded34f65ad6bd69a4af94945527de74761a866e6 (diff)
i965: Mark brw_draw_prims tfb_vertcount parameter as unused.
Renaming it makes it obvious that it isn't used, and the assertion verifies that the VBO module never passes us such an object. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_draw.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.h b/src/mesa/drivers/dri/i965/brw_draw.h
index aac375f8a87..fb96813b70f 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.h
+++ b/src/mesa/drivers/dri/i965/brw_draw.h
@@ -41,7 +41,7 @@ void brw_draw_prims( struct gl_context *ctx,
GLboolean index_bounds_valid,
GLuint min_index,
GLuint max_index,
- struct gl_transform_feedback_object *tfb_vertcount );
+ struct gl_transform_feedback_object *unused_tfb_object);
void brw_draw_init( struct brw_context *brw );
void brw_draw_destroy( struct brw_context *brw );