From: Chad Versace Date: Fri, 26 Jun 2015 14:38:02 +0000 (-0700) Subject: vk/formats: #undef fmt at end of format table X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0349e8d60794c6a71fb8081a256ed5d3e747b4b4;p=mesa.git vk/formats: #undef fmt at end of format table --- diff --git a/src/vulkan/formats.c b/src/vulkan/formats.c index c5cac6db7f7..a40181414d0 100644 --- a/src/vulkan/formats.c +++ b/src/vulkan/formats.c @@ -211,6 +211,8 @@ static const struct anv_format anv_formats[] = { fmt(VK_FORMAT_B10G10R10A2_SINT, B10G10R10A2_SINT, .cpp = 4, .num_channels = 4) }; +#undef fmt + const struct anv_format * anv_format_for_vk_format(VkFormat format) {