summaryrefslogtreecommitdiff
path: root/launcher
diff options
Diffstat (limited to 'launcher')
-rw-r--r--launcher/Launcher.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/launcher/Launcher.cpp b/launcher/Launcher.cpp
index 689cfa752..bbd8f82bb 100644
--- a/launcher/Launcher.cpp
+++ b/launcher/Launcher.cpp
@@ -1639,12 +1639,6 @@ void Launcher::DrawContent(nux::GraphicsEngine& GfxContext, bool force_draw)
nux::Color clear_colour = nux::Color(0x00000000);
- if (Settings::Instance().GetLowGfxMode())
- {
- clear_colour = options()->background_color;
- clear_colour.alpha = 1.0f;
- }
-
// clear region
GfxContext.PushClippingRectangle(base);
gPainter.PushDrawColorLayer(GfxContext, base, clear_colour, true, ROP);
@@ -1777,6 +1771,12 @@ void Launcher::DrawContent(nux::GraphicsEngine& GfxContext, bool force_draw)
gPainter.Paint2DQuadColor(GfxContext, bkg_box, color);
}
}
+ else
+ {
+ nux::Color color = options()->background_color;
+ color.alpha = 1.0f;
+ gPainter.Paint2DQuadColor(GfxContext, bkg_box, color);
+ }
GfxContext.GetRenderStates().SetPremultipliedBlend(nux::SRC_OVER);