diff --git a/src/draw.cpp b/src/draw.cpp index 6ece2ec..a772987 100644 --- a/src/draw.cpp +++ b/src/draw.cpp @@ -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); + fillBackground.color = RgbaColor::From(255, 255, 255, 255); fillBackground.layer = Canvas::Layer::BACK; Canvas::hFill hcfBackground = canvas->GetFill(fillBackground); diff --git a/src/render/render.cpp b/src/render/render.cpp index a1e14dd..e44a1e0 100644 --- a/src/render/render.cpp +++ b/src/render/render.cpp @@ -215,7 +215,7 @@ void UiCanvas::DrawRect(int l, int r, int t, int b, void UiCanvas::DrawPixmap(std::shared_ptr pm, int x, int y) { Canvas::Fill fill = {}; fill.layer = Canvas::Layer::FRONT; - fill.color = { 0, 0, 0, 255 }; + fill.color = { 255, 255, 255, 255 }; Canvas::hFill hcf = canvas->GetFill(fill); canvas->DrawPixmap(pm,