obj: Fix doc comment and update example to build
This commit is contained in:
parent
0476999dc4
commit
f58cb270b1
2 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ pub fn init(
|
|||
|
||||
// Color target describes e.g. the pixel format of the window we are rendering to.
|
||||
const color_target = gpu.ColorTargetState{
|
||||
.format = core.windows.get(core.main_window).?.framebuffer_format,
|
||||
.format = core.windows.get(core.main_window, .framebuffer_format).?,
|
||||
.blend = &blend,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue