Fix osd error on nevis

Origin commit data
------------------
Commit: 87e6f328dd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-27 (Wed, 27 Jan 2016)
This commit is contained in:
Michael Liebmann
2016-01-27 10:04:19 +01:00
parent 97693201cb
commit 5811644376
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;
}