From 83f81eaaf1232670ac8b92a3de74c6fb88e81f73 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sun, 15 Feb 2015 20:40:20 +0100 Subject: [PATCH] Remove unnecessary Clear() from UI background drawing code --- UI/MiscScreens.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/UI/MiscScreens.cpp b/UI/MiscScreens.cpp index 782c2dca9..8d43317ea 100644 --- a/UI/MiscScreens.cpp +++ b/UI/MiscScreens.cpp @@ -88,7 +88,6 @@ void DrawBackground(UIContext &dc, float alpha = 1.0f) { last_yres = yres; } - dc.GetThin3DContext()->Clear(T3DClear::COLOR | T3DClear::DEPTH | T3DClear::STENCIL, 0xff774422, 0.0, 0); int img = I_BG; #ifdef GOLD img = I_BG_GOLD;