From 2bfec9f4afcd9f93d681b36eba30faff0305bdd3 Mon Sep 17 00:00:00 2001 From: Philip Rideout Date: Wed, 26 Jun 2019 16:31:12 -0700 Subject: [PATCH] gltfio: Disable file formats that we do not need. This only removes 40k but at least it is easy. --- third_party/stb/stb.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/third_party/stb/stb.c b/third_party/stb/stb.c index 8bae19f7f4..00a5c61963 100644 --- a/third_party/stb/stb.c +++ b/third_party/stb/stb.c @@ -14,5 +14,13 @@ * limitations under the License. */ +#define STBI_NO_BMP +#define STBI_NO_PSD +#define STBI_NO_TGA +#define STBI_NO_GIF +#define STBI_NO_HDR +#define STBI_NO_PIC +#define STBI_NO_PNM + #define STB_IMAGE_IMPLEMENTATION #include