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
whitequark 2016-07-31 11:55:38 +00:00
parent 613aa8c579
commit 50b2b8adfd
1 changed files with 2 additions and 1 deletions

View File

@ -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,