awtk/3rd/bgfx
2024-05-01 18:31:13 +08:00
..
.gitignore intigrate bgfx(not done yet) 2018-11-09 18:46:34 +08:00
README.md improve bgfx build for linux 2024-05-01 17:48:20 +08:00
SConscript improve bgfx build on windows 2024-05-01 18:31:13 +08:00

bgfx

使用bgfx需要手工去下列软件包

git clone https://github.com/bkaradzic/bx.git 
git clone https://github.com/bkaradzic/bimg.git 
git clone https://github.com/bkaradzic/bgfx.git

已知问题:

  • linux

src/config.h

 #      ifndef BGFX_CONFIG_RENDERER_DIRECT3D11
 #              define BGFX_CONFIG_RENDERER_DIRECT3D11 (0 \
-                                       || BX_PLATFORM_LINUX          \
                                        || BX_PLATFORM_WINDOWS        \
                                        || BX_PLATFORM_WINRT          \
                                        || BX_PLATFORM_XBOXONE        \
@@ -46,7 +45,6 @@

 #      ifndef BGFX_CONFIG_RENDERER_DIRECT3D12
 #              define BGFX_CONFIG_RENDERER_DIRECT3D12 (0 \
-                                       || BX_PLATFORM_LINUX          \
                                        || BX_PLATFORM_WINDOWS        \
                                        || BX_PLATFORM_WINRT          \
                                        || BX_PLATFORM_XBOXONE        \