mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
freedreno: s/Elements/ARRAY_SIZE/
Signed-off-by: Brian Paul <brianp@vmware.com> Reviewed-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
b91975714d
commit
7f641916bf
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ int main(int argc, char **argv)
|
|||
if (fd_mesa_debug & FD_DBG_OPTMSGS)
|
||||
debug_printf("%s\n", (char *)ptr);
|
||||
|
||||
if (!tgsi_text_translate(ptr, toks, Elements(toks)))
|
||||
if (!tgsi_text_translate(ptr, toks, ARRAY_SIZE(toks)))
|
||||
errx(1, "could not parse `%s'", filename);
|
||||
|
||||
if (fd_mesa_debug & FD_DBG_OPTMSGS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue