Initialize resized mask textures to rgba(0, 0, 0, 0), not rgba(0, 0, 0, 1).
Partially addresses #405.
This commit is contained in:
parent
073695749b
commit
31abe4bb52
|
@ -1062,7 +1062,7 @@ impl<D> RendererCore<D> where D: Device {
|
||||||
viewport: RectI::new(Vector2I::default(), new_size),
|
viewport: RectI::new(Vector2I::default(), new_size),
|
||||||
options: RenderOptions {
|
options: RenderOptions {
|
||||||
clear_ops: ClearOps {
|
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()
|
..ClearOps::default()
|
||||||
},
|
},
|
||||||
..RenderOptions::default()
|
..RenderOptions::default()
|
||||||
|
|
Loading…
Reference in New Issue