Fixing compile errors on MSVC.
This commit is contained in:
parent
13ab852de4
commit
48bfab3713
@ -7,13 +7,13 @@
|
||||
|
||||
#include "bx/platform.h"
|
||||
|
||||
#if BX_PLATFORM_WINRT
|
||||
#if BX_COMPILER_MSVC
|
||||
#define generic GenericFromFreeType // WinRT language extensions see "generic" as a keyword... this is stupid
|
||||
#define interface InterfaceFromFreeType
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4245) // conversion from 'int' to 'FT_UInt', signed/unsigned mismatch
|
||||
#include <freetype/freetype.h>
|
||||
#pragma warning(pop)
|
||||
#undef generic
|
||||
#else
|
||||
#include <freetype/freetype.h>
|
||||
#endif
|
||||
|
@ -6,6 +6,19 @@
|
||||
#include "bgfx_p.h"
|
||||
|
||||
#if BGFX_CONFIG_RENDERER_DIRECT3D12
|
||||
|
||||
namespace bgfx
|
||||
{
|
||||
RendererContextI* rendererCreateD3D12()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void rendererDestroyD3D12()
|
||||
{
|
||||
}
|
||||
} // namespace bgfx
|
||||
|
||||
#else
|
||||
|
||||
namespace bgfx
|
||||
|
Loading…
Reference in New Issue
Block a user