Added X86 to platform to allow metal support on iOS Simulator

This commit is contained in:
Tobias Boogh
2020-03-09 17:22:09 +01:00
committed by Бранимир Караџић
parent 5d72520a1d
commit 9f37296761

View File

@@ -53,6 +53,7 @@
# ifndef BGFX_CONFIG_RENDERER_METAL
# define BGFX_CONFIG_RENDERER_METAL (0 \
|| (BX_PLATFORM_IOS && BX_CPU_ARM) \
|| (BX_PLATFORM_IOS && BX_CPU_X86) \
|| (BX_PLATFORM_OSX >= 101100) \
? 1 : 0)
# endif // BGFX_CONFIG_RENDERER_METAL