This commit is contained in:
Бранимир Караџић 2023-12-02 10:35:17 -08:00
parent ae4b0cd5a9
commit 837803454a
2 changed files with 3 additions and 5 deletions

View File

@ -2732,7 +2732,6 @@ namespace bgfx
else if (BX_ENABLED(BX_PLATFORM_IOS) )
{
score += RendererType::Metal == renderer ? 20 : 0;
score += RendererType::OpenGLES == renderer ? 10 : 0;
}
else if (BX_ENABLED(0
|| BX_PLATFORM_ANDROID

View File

@ -61,9 +61,8 @@
# 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) \
|| BX_PLATFORM_IOS \
|| BX_PLATFORM_OSX \
? 1 : 0)
# endif // BGFX_CONFIG_RENDERER_METAL