gpu: update to latest Zig master version (allocgate)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
784aa40093
commit
7ecef80ec7
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue