Skip to content

Commit 31abe4b

Browse files
committed
Initialize resized mask textures to rgba(0, 0, 0, 0), not rgba(0, 0, 0, 1).
Partially addresses #405.
1 parent 0736957 commit 31abe4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renderer/src/gpu/renderer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ impl<D> RendererCore<D> where D: Device {
10621062
viewport: RectI::new(Vector2I::default(), new_size),
10631063
options: RenderOptions {
10641064
clear_ops: ClearOps {
1065-
color: Some(ColorF::new(0.0, 0.0, 0.0, 1.0)),
1065+
color: Some(ColorF::new(0.0, 0.0, 0.0, 0.0)),
10661066
..ClearOps::default()
10671067
},
10681068
..RenderOptions::default()

0 commit comments

Comments
 (0)