#include "stdafx.h" // Defines STB_IMAGE_IMPLEMENTATION *once* for stb_image.h includes (Should this be placed somewhere else?) #define STB_IMAGE_IMPLEMENTATION // Sneak in truetype as well. #define STB_TRUETYPE_IMPLEMENTATION // This header generates lots of errors, so we ignore those (not rpcs3 code) #ifdef _MSC_VER #pragma warning(push, 0) #include #include #pragma warning(pop) #else #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wall" #pragma GCC diagnostic ignored "-Wextra" #pragma GCC diagnostic ignored "-Wold-style-cast" #pragma GCC diagnostic ignored "-Wstrict-aliasing" #pragma GCC diagnostic ignored "-Wcast-qual" #ifndef __clang__ #pragma GCC diagnostic ignored "-Wduplicated-branches" #endif #include #include #pragma GCC diagnostic pop #endif