diff options
author | Brian Paul <[email protected]> | 2015-02-28 09:05:29 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-03-02 08:55:30 -0700 |
commit | 49a7f8c919d23fec977116f218780a35896cc1dd (patch) | |
tree | 65f835e6df566dd15c5c5f0bf0921b72ebf681ea /src/mesa/drivers/dri/i965/gen6_sol.c | |
parent | b565771003fc416e6ccccda8b10efa2423ae7e5a (diff) |
i965: replace Elements() with ARRAY_SIZE()
Acked-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_sol.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_sol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_sol.c b/src/mesa/drivers/dri/i965/gen6_sol.c index 511b6990503..0a66b1be5c6 100644 --- a/src/mesa/drivers/dri/i965/gen6_sol.c +++ b/src/mesa/drivers/dri/i965/gen6_sol.c @@ -219,7 +219,7 @@ brw_delete_transform_feedback(struct gl_context *ctx, struct brw_transform_feedback_object *brw_obj = (struct brw_transform_feedback_object *) obj; - for (unsigned i = 0; i < Elements(obj->Buffers); i++) { + for (unsigned i = 0; i < ARRAY_SIZE(obj->Buffers); i++) { _mesa_reference_buffer_object(ctx, &obj->Buffers[i], NULL); } |