From 0349e8d60794c6a71fb8081a256ed5d3e747b4b4 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 26 Jun 2015 07:38:02 -0700 Subject: [PATCH] vk/formats: #undef fmt at end of format table --- src/vulkan/formats.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.30.2