From 50b2b8adfdc2291281e2192543e5eb20f8696290 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 31 Jul 2016 11:55:38 +0000 Subject: [PATCH] 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. --- src/draw.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/draw.cpp b/src/draw.cpp index d62327d..dc0021f 100644 --- a/src/draw.cpp +++ b/src/draw.cpp @@ -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,