Fix a numeric conversion warning.

pull/33/merge
whitequark 2016-10-09 15:26:05 +00:00
parent 58db06d845
commit fb87431ba5
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ void GraphicsWindow::Draw(Canvas *canvas) {
// Place the background at the very back of the Z order.
Canvas::Fill fillBackground = {};
fillBackground.color = RGBi(0.0, 0.0, 0.0);
fillBackground.color = RGBi(0, 0, 0);
fillBackground.layer = Canvas::Layer::BACK;
Canvas::hFill hcfBackground = canvas->GetFill(fillBackground);