diff options
author | Jan Vesely <[email protected]> | 2016-05-17 09:25:44 -0400 |
---|---|---|
committer | Jan Vesely <[email protected]> | 2016-05-17 15:28:04 -0400 |
commit | 47b390fe45e5e6f982c60b58985892438959cd8e (patch) | |
tree | 61a26199f85287a7e918c6c52db243280b6a3cba /src/gallium/drivers/nouveau/nouveau_compiler.c | |
parent | 322cd2457ccf66a0a88d92f0b0dec1cb3f93eae4 (diff) |
Treewide: Remove Elements() macro
Signed-off-by: Jan Vesely <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_compiler.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_compiler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_compiler.c b/src/gallium/drivers/nouveau/nouveau_compiler.c index ca73fd17a43..e00ad3fc0b8 100644 --- a/src/gallium/drivers/nouveau/nouveau_compiler.c +++ b/src/gallium/drivers/nouveau/nouveau_compiler.c @@ -197,7 +197,7 @@ main(int argc, char *argv[]) return 1; } - if (!tgsi_text_translate(text, tokens, Elements(tokens))) { + if (!tgsi_text_translate(text, tokens, ARRAY_SIZE(tokens))) { _debug_printf("Failed to parse TGSI shader\n"); return 1; } |