Fix osd error on nevis

Origin commit data
------------------
Branch: ni/coolstream
Commit: 87e6f328dd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-27 (Wed, 27 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-01-27 10:04:19 +01:00
parent 36d8afd1dc
commit 8f75b392c0
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;
}