diff options
Diffstat (limited to 'src/engine/stb_impl.cpp')
| -rw-r--r-- | src/engine/stb_impl.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/engine/stb_impl.cpp b/src/engine/stb_impl.cpp new file mode 100644 index 0000000..8011e5a --- /dev/null +++ b/src/engine/stb_impl.cpp @@ -0,0 +1,9 @@ +// Single translation unit that compiles the stb_image implementation. +#if defined(__GNUC__) +#pragma GCC diagnostic ignored "-Wunused-function" +#endif +#define STB_IMAGE_IMPLEMENTATION +#define STBI_ONLY_PNG +#define STBI_ONLY_TGA // Forts ships weapon/device art as TGA +#define STBI_NO_STDIO_DEPRECATE +#include "stb_image.h" |
