Unbreak background image display.
Before this commit, background image was drawn with alpha=0, which caused it to be not drawn at all. This was an error introduced during rebasing.
This commit is contained in:
parent
613aa8c579
commit
50b2b8adfd
@ -590,6 +590,7 @@ void GraphicsWindow::Draw(Canvas *canvas) {
|
|||||||
|
|
||||||
// Place the background at the very back of the Z order.
|
// Place the background at the very back of the Z order.
|
||||||
Canvas::Fill fillBackground = {};
|
Canvas::Fill fillBackground = {};
|
||||||
|
fillBackground.color = RGBi(0.0, 0.0, 0.0);
|
||||||
fillBackground.layer = Canvas::Layer::BACK;
|
fillBackground.layer = Canvas::Layer::BACK;
|
||||||
Canvas::hFill hcfBackground = canvas->GetFill(fillBackground);
|
Canvas::hFill hcfBackground = canvas->GetFill(fillBackground);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user