summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-03-02 15:58:17 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-05 14:45:54 +0000
commit3f6c28f2a976e35128b7a4a513cfa60af00301e1 (patch)
treee44a3c52ec55f6ff396e9ca17582c57a18d4003a /src/mesa/main/formats.c
parentabae3434c42ce55d0aa26443e52fea98cc7cfe32 (diff)
downloadexternal_mesa3d-3f6c28f2a976e35128b7a4a513cfa60af00301e1.zip
external_mesa3d-3f6c28f2a976e35128b7a4a513cfa60af00301e1.tar.gz
external_mesa3d-3f6c28f2a976e35128b7a4a513cfa60af00301e1.tar.bz2
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" <mesa-stable@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
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 a6f5cde..422c9dc 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)