diff options
author | Brian Paul <[email protected]> | 2016-04-28 11:39:15 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-05-03 15:40:48 -0600 |
commit | e193c5dd59555cea56f5d72b4800a54cc77bc76d (patch) | |
tree | 6873c012a8e83c69462f88706a0f1fb2f30ee63c /src/gallium/drivers/ilo/ilo_blit.h | |
parent | 951bf8b4a64c9793d10e963889e74fc1659ddb4b (diff) |
ilo: s/Elements/ARRAY_SIZE/
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_blit.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_blit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_blit.h b/src/gallium/drivers/ilo/ilo_blit.h index bad4dab8404..008dd46a73c 100644 --- a/src/gallium/drivers/ilo/ilo_blit.h +++ b/src/gallium/drivers/ilo/ilo_blit.h @@ -162,7 +162,7 @@ ilo_blit_resolve_framebuffer(struct ilo_context *ilo) unsigned sh, i; /* Not all bound views are sampled by the shaders. How do we tell? */ - for (sh = 0; sh < Elements(vec->view); sh++) { + for (sh = 0; sh < ARRAY_SIZE(vec->view); sh++) { for (i = 0; i < vec->view[sh].count; i++) { if (vec->view[sh].states[i]) ilo_blit_resolve_view(ilo, vec->view[sh].states[i]); |