From 9f37296761ca953bfb7fcb6105b3067e25cfa9de Mon Sep 17 00:00:00 2001 From: Tobias Boogh Date: Mon, 9 Mar 2020 17:22:09 +0100 Subject: [PATCH] Added X86 to platform to allow metal support on iOS Simulator --- src/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.h b/src/config.h index 7f6acbda6..3c0ee614b 100644 --- a/src/config.h +++ b/src/config.h @@ -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