summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_draw.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-08-28 14:59:03 -0700
committerKenneth Graunke <kenneth@whitecape.org>2013-09-03 11:29:33 -0700
commit6e143af66d679060136815ed85626eba3079cbb6 (patch)
tree26af4bae5863f82eaaa7eeef2c2eb800f1145a59 /src/mesa/drivers/dri/i965/brw_draw.h
parent9f7d5870a31bc9fab6c42acba4ae97e4f9bdb2b9 (diff)
downloadexternal_mesa3d-6e143af66d679060136815ed85626eba3079cbb6.zip
external_mesa3d-6e143af66d679060136815ed85626eba3079cbb6.tar.gz
external_mesa3d-6e143af66d679060136815ed85626eba3079cbb6.tar.bz2
i965: Rename "prim" parameter to "prims" where it's an array.
Some drawing functions take a single _mesa_prim object, while others take an array of primitives. Both kinds of functions used a parameter called "prim" (the singular form), which was confusing. Using the plural form, "prims," clearly communicates that the parameter is an array of primitives. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
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 c915bc3..aac375f 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.h
+++ b/src/mesa/drivers/dri/i965/brw_draw.h
@@ -49,7 +49,7 @@ void brw_draw_destroy( struct brw_context *brw );
/* brw_primitive_restart.c */
GLboolean
brw_handle_primitive_restart(struct gl_context *ctx,
- const struct _mesa_prim *prim,
+ const struct _mesa_prim *prims,
GLuint nr_prims,
const struct _mesa_index_buffer *ib);