mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
A
This commit is contained in:
@@ -72,7 +72,10 @@ option("unitybuild", { description = "Build the library using unity build", defa
|
|||||||
if is_plat("wasm") then
|
if is_plat("wasm") then
|
||||||
backends.Vulkan = nil
|
backends.Vulkan = nil
|
||||||
else
|
else
|
||||||
add_requires("tiny-c-thread", "wgpu-native")
|
add_requires("tiny-c-thread")
|
||||||
|
if has_config("webgpu") then
|
||||||
|
add_requires("wgpu-native") -- Adding it manually here because wgpu-native is not available in wasm
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
for name, module in pairs(backends) do
|
for name, module in pairs(backends) do
|
||||||
|
|||||||
Reference in New Issue
Block a user