examples: fix blend mode in triangle example (#240)
Co-authored-by: d3m1gd <mach+d3m1gd@users.noreply.github.com>
This commit is contained in:
parent
0db0481f01
commit
6300c85e79
1 changed files with 2 additions and 2 deletions
|
|
@ -26,12 +26,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