[Mesa-dev] [PATCH 02/10] mesa: include util/macros.h in format_fallback.c

Brian Paul brianp at vmware.com
Wed Jan 17 05:17:06 UTC 2018


To get definition of unreachable() macro.
---
 src/mesa/main/format_fallback.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/format_fallback.py b/src/mesa/main/format_fallback.py
index 2f02d0d..4a2b85c 100644
--- a/src/mesa/main/format_fallback.py
+++ b/src/mesa/main/format_fallback.py
@@ -87,6 +87,7 @@ def get_rgbx_to_rgba_map(formats):
 
 TEMPLATE = Template(COPYRIGHT + """
 #include "formats.h"
+#include "util/macros.h"
 
 /**
  * For an sRGB format, return the corresponding linear color space format.
-- 
2.7.4



More information about the mesa-dev mailing list