From 6d66daef29ec226113699e9040b772e264ce680d Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Fri, 24 Jul 2026 00:42:01 +0200 Subject: [PATCH] [Soft] fixing command buffer creation --- src/software/SoftCommandBuffer.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/software/SoftCommandBuffer.zig b/src/software/SoftCommandBuffer.zig index 3ba0bd4..ce979b7 100644 --- a/src/software/SoftCommandBuffer.zig +++ b/src/software/SoftCommandBuffer.zig @@ -128,9 +128,10 @@ pub fn create(device: *base.Device, allocator: std.mem.Allocator, info: *const v self.* = .{ .interface = interface, - .command_allocator = .init(interface.host_allocator.allocator()), + .command_allocator = undefined, .commands = .empty, }; + self.command_allocator = .init(interface.host_allocator.allocator()); return self; }