Ignore Linux stb_image warning

This commit is contained in:
Dan Paulat 2023-08-03 06:34:19 -05:00
parent 95f4d03c7b
commit f9fc32e479

View file

@ -1,4 +1,14 @@
#define STB_IMAGE_IMPLEMENTATION
#define STBI_ASSERT(x)
#define STBI_FAILURE_USERMSG
#if defined(__GNUC__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#include <stb_image.h>
#if defined(__GNUC__)
# pragma GCC diagnostic pop
#endif