summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/.gitignore2
-rw-r--r--src/mesa/main/formats.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/.gitignore b/src/mesa/main/.gitignore
index 98e645efbe8..8256ad7923e 100644
--- a/src/mesa/main/.gitignore
+++ b/src/mesa/main/.gitignore
@@ -6,6 +6,6 @@ git_sha1.h.tmp
remap_helper.h
get_hash.h
get_hash.h.tmp
-format_info.c
+format_info.h
format_pack.c
format_unpack.c
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)