Initialize resized mask textures to rgba(0, 0, 0, 0), not rgba(0, 0, 0, 1).

Partially addresses #405.
This commit is contained in:
Patrick Walton 2020-07-27 17:07:13 -07:00
parent 073695749b
commit 31abe4bb52
1 changed files with 1 additions and 1 deletions

View File

@ -1062,7 +1062,7 @@ impl<D> RendererCore<D> where D: Device {
viewport: RectI::new(Vector2I::default(), new_size),
options: RenderOptions {
clear_ops: ClearOps {
color: Some(ColorF::new(0.0, 0.0, 0.0, 1.0)),
color: Some(ColorF::new(0.0, 0.0, 0.0, 0.0)),
..ClearOps::default()
},
..RenderOptions::default()