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.
This commit is contained in:
commit
4c8699a5e2
|
@ -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