Skip to content

Commit 4c8699a

Browse files
authored
Auto merge of #418 - pcwalton:resize-clear, r=pcwalton
Initialize resized mask textures to rgba(0, 0, 0, 0), not rgba(0, 0, 0, 1). Partially addresses #405.
2 parents 0736957 + 31abe4b commit 4c8699a

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)