diff options
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]); |