remove Dawn / WebGPU support in favor of sysgpu
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
e6cecc3ebe
commit
98801a258e
47 changed files with 25 additions and 8474 deletions
|
|
@ -149,8 +149,7 @@ fn initModule(entities: *mach.Entities.Mod, core: *Mod) !void {
|
|||
mach.core.allocator = gpa.allocator(); // TODO: banish this global allocator
|
||||
|
||||
// Initialize GPU implementation
|
||||
if (comptime !mach.use_sysgpu) try mach.wgpu.Impl.init(mach.core.allocator, .{});
|
||||
if (comptime mach.use_sysgpu) try mach.sysgpu.Impl.init(mach.core.allocator, .{});
|
||||
try mach.sysgpu.Impl.init(mach.core.allocator, .{});
|
||||
|
||||
const main_window = try entities.new();
|
||||
try core.set(main_window, .fullscreen, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue