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.pull/33/head
parent
613aa8c579
commit
50b2b8adfd
|
@ -590,7 +590,8 @@ void GraphicsWindow::Draw(Canvas *canvas) {
|
|||
|
||||
// Place the background at the very back of the Z order.
|
||||
Canvas::Fill fillBackground = {};
|
||||
fillBackground.layer = Canvas::Layer::BACK;
|
||||
fillBackground.color = RGBi(0.0, 0.0, 0.0);
|
||||
fillBackground.layer = Canvas::Layer::BACK;
|
||||
Canvas::hFill hcfBackground = canvas->GetFill(fillBackground);
|
||||
|
||||
canvas->DrawPixmap(SS.bgImage.pixmap,
|
||||
|
|
Loading…
Reference in New Issue