diff --git a/examples/common/font/font_manager.cpp b/examples/common/font/font_manager.cpp index 64dead421..11706b97a 100644 --- a/examples/common/font/font_manager.cpp +++ b/examples/common/font/font_manager.cpp @@ -5,7 +5,18 @@ #define USE_EDTAA3 0 +#include "bx/platform.h" + +#if BX_PLATFORM_WINRT +#define generic GenericFromFreeType // WinRT language extensions see "generic" as a keyword... this is stupid +#pragma warning(push) +#pragma warning(disable : 4245) // conversion from 'int' to 'FT_UInt', signed/unsigned mismatch #include +#pragma warning(pop) +#undef generic +#else +#include +#endif #include "../common.h"