summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_draw.c
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2020-11-01 12:35:48 -0500
committerMarge Bot <eric+marge@anholt.net>2020-11-18 01:41:25 +0000
commit4656df5a65f2cd74a26097e4419f8bafd5beb0ab (patch)
treede436a500fd2220b0fd4a81374068f78a013b9bc /src/mesa/tnl/t_draw.c
parentd6df35b304d272cad58e666a82ec3c1fa31b85a2 (diff)
mesa: clean up Driver.Draw parameter types
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7441>
Diffstat (limited to 'src/mesa/tnl/t_draw.c')
-rw-r--r--src/mesa/tnl/t_draw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_draw.c b/src/mesa/tnl/t_draw.c
index cf23c01ba6d..5d1bc09b80b 100644
--- a/src/mesa/tnl/t_draw.c
+++ b/src/mesa/tnl/t_draw.c
@@ -628,10 +628,10 @@ _tnl_bind_inputs(struct gl_context *ctx)
*/
void
_tnl_draw(struct gl_context *ctx,
- const struct _mesa_prim *prim, GLuint nr_prims,
+ const struct _mesa_prim *prim, unsigned nr_prims,
const struct _mesa_index_buffer *ib,
- GLboolean index_bounds_valid, GLuint min_index, GLuint max_index,
- GLuint num_instances, GLuint base_instance)
+ bool index_bounds_valid, unsigned min_index, unsigned max_index,
+ unsigned num_instances, unsigned base_instance)
{
/* Update TNLcontext::draw_arrays and return that pointer.
*/