diff options
author | Brian Paul <[email protected]> | 2016-04-25 15:57:05 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-04-27 10:23:19 -0600 |
commit | d902504a677d39ace99b1f34a7a4d06d644dfb3d (patch) | |
tree | f12cf61e6b9e9408e9a745642887c570c3b3486f /src/gallium/auxiliary/hud/font.c | |
parent | e522a76226acfcf786457ce4472294d9e36adc94 (diff) |
hud: s/Elements/ARRAY_SIZE/
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud/font.c')
-rw-r--r-- | src/gallium/auxiliary/hud/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/hud/font.c b/src/gallium/auxiliary/hud/font.c index 067de9e39c7..9fb9d7e055b 100644 --- a/src/gallium/auxiliary/hud/font.c +++ b/src/gallium/auxiliary/hud/font.c @@ -388,7 +388,7 @@ util_font_create_fixed_8x13(struct pipe_context *pipe, enum pipe_format tex_format = PIPE_FORMAT_NONE; int i; - for (i = 0; i < Elements(formats); i++) { + for (i = 0; i < ARRAY_SIZE(formats); i++) { if (screen->is_format_supported(screen, formats[i], PIPE_TEXTURE_RECT, 0, PIPE_BIND_SAMPLER_VIEW)) { |