We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d90f353 commit 4fbec51Copy full SHA for 4fbec51
src/gui.zig
@@ -72,7 +72,7 @@ pub fn initWithExistingContext(allocator: std.mem.Allocator, ctx: Context) void
72
zguiSetCurrentContext(ctx);
73
74
temp_buffer = std.ArrayList(u8){};
75
- temp_buffer.?.resize(3 * 1024 + 1) catch unreachable;
+ temp_buffer.?.resize(mem_allocator.?, 3 * 1024 + 1) catch unreachable;
76
77
if (te_enabled) {
78
te.init();
0 commit comments