Remove unnecessary Clear() from UI background drawing code

This commit is contained in:
Henrik Rydgard 2015-02-15 20:40:20 +01:00
parent 8abd22a35b
commit 83f81eaaf1

View File

@ -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;