gpu: update to latest Zig master version (allocgate)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-12-06 20:35:11 -07:00 committed by Stephen Gutekanst
parent 784aa40093
commit 7ecef80ec7

View file

@ -13,7 +13,7 @@ const glfw = @import("glfw");
pub fn main() !void {
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
var allocator = &gpa.allocator;
var allocator = gpa.allocator();
const setup = try sample_utils.setup();
const queue = c.wgpuDeviceGetQueue(setup.device);