summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-03-02 15:58:17 +0000
committerEmil Velikov <[email protected]>2015-03-05 14:45:54 +0000
commit3f6c28f2a976e35128b7a4a513cfa60af00301e1 (patch)
treee44a3c52ec55f6ff396e9ca17582c57a18d4003a /src/mesa/main/formats.c
parentabae3434c42ce55d0aa26443e52fea98cc7cfe32 (diff)
mesa: rename format_info.c to format_info.h
The file is auto-generated, and #included by formats.c. Let's rename it to reflect the latter. This will also help up fix the dependency tracking by adding it to the _SOURCES variable, without the side effect of it being compiled (twice). v2: Update .gitignore to reflect the rename. Cc: "10.4, 10.5" <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/formats.c')
-rw-r--r--src/mesa/main/formats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index a6f5cde0c57..422c9dc46eb 100644
--- a/src/mesa/main/formats.c
+++ b/src/mesa/main/formats.c
@@ -75,7 +75,7 @@ struct gl_format_info
mesa_array_format ArrayFormat;
};
-#include "format_info.c"
+#include "format_info.h"
static const struct gl_format_info *
_mesa_get_format_info(mesa_format format)