examples: fix BlendState for rotating-cube and two-cubes (#244)
This commit is contained in:
parent
bb65083561
commit
8f7a20d2e6
2 changed files with 4 additions and 4 deletions
|
|
@ -61,12 +61,12 @@ pub fn main() !void {
|
|||
.color = .{
|
||||
.operation = .add,
|
||||
.src_factor = .one,
|
||||
.dst_factor = .one,
|
||||
.dst_factor = .zero,
|
||||
},
|
||||
.alpha = .{
|
||||
.operation = .add,
|
||||
.src_factor = .one,
|
||||
.dst_factor = .one,
|
||||
.dst_factor = .zero,
|
||||
},
|
||||
};
|
||||
const color_target = gpu.ColorTargetState{
|
||||
|
|
|
|||
|
|
@ -61,12 +61,12 @@ pub fn main() !void {
|
|||
.color = .{
|
||||
.operation = .add,
|
||||
.src_factor = .one,
|
||||
.dst_factor = .one,
|
||||
.dst_factor = .zero,
|
||||
},
|
||||
.alpha = .{
|
||||
.operation = .add,
|
||||
.src_factor = .one,
|
||||
.dst_factor = .one,
|
||||
.dst_factor = .zero,
|
||||
},
|
||||
};
|
||||
const color_target = gpu.ColorTargetState{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue