gpu: link glfw directly to gpu

This commit is contained in:
Austin Rude 2023-01-14 23:34:40 -07:00 committed by Stephen Gutekanst
parent 9d1c96ed0e
commit 77341e2905

View file

@ -29,6 +29,7 @@ pub fn build(b: *std.build.Builder) !void {
example.addPackage(gpu.pkg);
example.addPackage(glfw.pkg);
try gpu.link(b, example, .{ .gpu_dawn_options = gpu_dawn_options });
try glfw.link(b, example, .{});
example.install();
const example_run_cmd = example.run();