forked from mirror/vulkan-zig
remove unused unused variables
This commit is contained in:
@@ -236,13 +236,6 @@ fn createCommandBuffers(
|
||||
const cmdbufs = try allocator.alloc(vk.CommandBuffer, framebuffers.len);
|
||||
errdefer allocator.free(cmdbufs);
|
||||
|
||||
_ = pipeline;
|
||||
_ = render_pass;
|
||||
_ = extent;
|
||||
_ = buffer;
|
||||
_ = pool;
|
||||
_ = gc;
|
||||
|
||||
try gc.vkd.allocateCommandBuffers(gc.dev, &.{
|
||||
.command_pool = pool,
|
||||
.level = .primary,
|
||||
@@ -269,7 +262,6 @@ fn createCommandBuffers(
|
||||
};
|
||||
|
||||
for (cmdbufs) |cmdbuf, i| {
|
||||
_ = i;
|
||||
try gc.vkd.beginCommandBuffer(cmdbuf, &.{
|
||||
.flags = .{},
|
||||
.p_inheritance_info = null,
|
||||
|
||||
@@ -1052,7 +1052,7 @@ fn Renderer(comptime WriterType: type) type {
|
||||
\\ .Struct = .{{
|
||||
\\ .layout = .Auto,
|
||||
\\ .fields = &fields,
|
||||
\\ .decls = &[_]std.builtin.TypeInfo.Declaration{{}},
|
||||
\\ .decls = &[_]std.builtin.Type.Declaration{{}},
|
||||
\\ .is_tuple = false,
|
||||
\\ }},
|
||||
\\ }});
|
||||
|
||||
Reference in New Issue
Block a user