mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-24 16:48:18 -05:00
Cleanup.
This commit is contained in:
parent
b1794d006b
commit
0e17ac6270
1 changed files with 3 additions and 13 deletions
16
src/config.h
16
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
|
||||
|
|
Loading…
Reference in a new issue