gpu/examples: zig fmt
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
7ebe8cde5e
commit
58664afbd6
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ fn frame(params: FrameParams) !void {
|
||||||
pl.swap_chain = params.device.nativeCreateSwapChain(pl.surface, &pl.target_desc);
|
pl.swap_chain = params.device.nativeCreateSwapChain(pl.surface, &pl.target_desc);
|
||||||
} else pl.swap_chain.?.configure(
|
} else pl.swap_chain.?.configure(
|
||||||
pl.swap_chain_format,
|
pl.swap_chain_format,
|
||||||
.{.render_attachment = true},
|
.{ .render_attachment = true },
|
||||||
pl.target_desc.width,
|
pl.target_desc.width,
|
||||||
pl.target_desc.height,
|
pl.target_desc.height,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue