vk/formats: #undef fmt at end of format table
authorChad Versace <chad.versace@intel.com>
Fri, 26 Jun 2015 14:38:02 +0000 (07:38 -0700)
committerChad Versace <chad.versace@intel.com>
Fri, 26 Jun 2015 14:38:02 +0000 (07:38 -0700)
src/vulkan/formats.c

index c5cac6db7f79fbc56b03fec5d0343f4a52df148a..a40181414d0dc75c2b319b713b03de59092e77ee 100644 (file)
@@ -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)
 {