Fix osd error on nevis

This commit is contained in:
M. Liebmann
2016-01-27 10:04:19 +01:00
parent fcd8352daf
commit 87e6f328dd
2 changed files with 3 additions and 0 deletions

View File

@@ -407,6 +407,8 @@ void CInfoViewerBB::showBBButtons(bool paintFooter)
frameBuffer->SaveScreen(buf_x, buf_y, buf_w, buf_h, pixbuf);
paintFoot();
if (pixbuf != NULL) {
if (g_settings.theme.infobar_gradient_bottom)
frameBuffer->waitForIdle("CInfoViewerBB::showBBButtons");
frameBuffer->RestoreScreen(buf_x, buf_y, buf_w, buf_h, pixbuf);
delete [] pixbuf;
}