From 0e17ac62707d05124a3b4a01d7d996d8be5f1f25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 14 Jan 2016 11:43:31 -0800 Subject: [PATCH] Cleanup. --- src/config.h | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/config.h b/src/config.h index 5966105e..730e4924 100644 --- a/src/config.h +++ b/src/config.h @@ -77,8 +77,10 @@ || BGFX_CONFIG_RENDERER_DIRECT3D9 \ || BGFX_CONFIG_RENDERER_DIRECT3D11 \ || BGFX_CONFIG_RENDERER_DIRECT3D12 \ + || BGFX_CONFIG_RENDERER_METAL \ || BGFX_CONFIG_RENDERER_OPENGL \ || BGFX_CONFIG_RENDERER_OPENGLES \ + || BGFX_CONFIG_RENDERER_VULKAN \ ? 1 : 0) ) # endif // BGFX_CONFIG_RENDERER_NULL #else @@ -175,19 +177,7 @@ #endif // BGFX_CONFIG_DEBUG_OCCLUSION #ifndef BGFX_CONFIG_MULTITHREADED -# define BGFX_CONFIG_MULTITHREADED ( (!BGFX_CONFIG_RENDERER_NULL)&&(0 \ - || BX_PLATFORM_ANDROID \ - || BX_PLATFORM_BSD \ - || BX_PLATFORM_LINUX \ - || BX_PLATFORM_IOS \ - || BX_PLATFORM_NACL \ - || BX_PLATFORM_OSX \ - || BX_PLATFORM_QNX \ - || BX_PLATFORM_RPI \ - || BX_PLATFORM_WINDOWS \ - || BX_PLATFORM_WINRT \ - || BX_PLATFORM_XBOX360 \ - ? 1 : 0) ) +# define BGFX_CONFIG_MULTITHREADED ( (0 == BX_PLATFORM_EMSCRIPTEN) ? 1 : 0) #endif // BGFX_CONFIG_MULTITHREADED #ifndef BGFX_CONFIG_MAX_DRAW_CALLS