- added a ClearScreen function to the 2D drawer to wrap the frequent occurence of this use case.

This commit is contained in:
Christoph Oelckers 2020-01-05 10:48:44 +01:00
parent a3020ed867
commit 746aa4da82
12 changed files with 34 additions and 27 deletions

View file

@ -928,7 +928,7 @@ void G_DisplayRest(int32_t smoothratio)
if (ud.overhead_on == 2)
{
twod->AddColorOnlyQuad(0, 0, xdim, ydim, 0xff000000);
twod->ClearScreen();
G_DrawBackground();
renderDrawMapView(cposx, cposy, pp->zoom, cang);
}