vulkan/wsi/x11: use ARRAY_SIZE where applicable
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 13 Mar 2018 11:06:28 +0000 (11:06 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 16 Mar 2018 13:45:47 +0000 (13:45 +0000)
commit19ec81775636171af4386fe17fc301917c4e97f7
tree51a13febfe46e79f491d6d012cb205a1aeb5dd22
parent705a6446b4301498b83789a19d81aed4e922548b
vulkan/wsi/x11: use ARRAY_SIZE where applicable

Use the handy macro instead of hard coded numbers.

Fixes: c80c08e2260 ("vulkan/wsi/x11: Add support for DRI3 v1.2")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/vulkan/wsi/wsi_common_x11.c