mesa: don't include colormac.h in format code
authorBrian Paul <brianp@vmware.com>
Wed, 1 Apr 2015 16:31:26 +0000 (10:31 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 1 Apr 2015 18:04:28 +0000 (12:04 -0600)
Acked-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Mark Janes <mark.a.janes@intel.com>
src/mesa/main/format_pack.py
src/mesa/main/format_unpack.h
src/mesa/main/format_unpack.py

index f141da83ca4148e67685631a47a126afb5b24374..2f43a30ddd8071cd2d1d4da3eccdb55bf0537c63 100644 (file)
@@ -43,7 +43,6 @@ string = """/*
 
 #include <stdint.h>
 
-#include "colormac.h"
 #include "format_pack.h"
 #include "format_utils.h"
 #include "macros.h"
index eba3c665070e8b87ae9625c43d212679b63f5046..964c6077af271dc63fa49a7e8432fbdac7481bfd 100644 (file)
@@ -25,6 +25,8 @@
 #ifndef FORMAT_UNPACK_H
 #define FORMAT_UNPACK_H
 
+#include "formats.h"
+
 extern void
 _mesa_unpack_rgba_row(mesa_format format, GLuint n,
                       const void *src, GLfloat dst[][4]);
index 53bdf641d124dd48328e497aa49d07d9b71de99d..5928c2018eb1a87a669a321c1a3c567341ca8fc0 100644 (file)
@@ -43,7 +43,6 @@ string = """/*
 
 #include <stdint.h>
 
-#include "colormac.h"
 #include "format_unpack.h"
 #include "format_utils.h"
 #include "macros.h"