fix all renderers defaulting to disabled
caused by bkaradzic/bgfx.cmake#22 overriding *any* renderer config defines causes bgfx to disable automatic config derivation for *all* renderers - this meant that force disabling WebGPU was also implicitly disabling all other renderers by default. not sure what the best option is here (outside of explicitly setting all renderers in the build system) but removing this for now to restore expected per-platform defaults.
This commit is contained in:
committed by
Jason Millard
parent
4f736eedd5
commit
26dbcda964
@@ -64,8 +64,6 @@ if(BGFX_CONFIG_RENDERER_WEBGPU)
|
||||
else()
|
||||
target_link_libraries(bgfx PRIVATE webgpu)
|
||||
endif()
|
||||
else()
|
||||
target_compile_definitions(bgfx PRIVATE BGFX_CONFIG_RENDERER_WEBGPU=0)
|
||||
endif()
|
||||
|
||||
if(EMSCRIPTEN)
|
||||
|
||||
Reference in New Issue
Block a user