Fix crash from uninitialized variable

This commit is contained in:
IntegratedQuantum 2025-06-08 11:46:13 +02:00
parent 557c8f7b0c
commit 8427608787

View File

@ -1897,6 +1897,7 @@ pub fn LargeBuffer(comptime Entry: type) type { // MARK: LargerBuffer
c.glBufferStorage(c.GL_SHADER_STORAGE_BUFFER, bytes, null, flags);
self.ssbo.bind(self.binding);
self.capacity = size;
self.used = 0;
}
pub fn init(self: *Self, allocator: NeverFailingAllocator, size: u31, binding: c_uint) void {