framebuffer: add missing blit() calls

This commit is contained in:
Stefan Seyfried
2012-06-24 15:28:01 +02:00
parent 2be328ade2
commit bcec8033b0

View File

@@ -1067,6 +1067,7 @@ bool CFrameBuffer::paintIcon8(const std::string & filename, const int x, const i
d += stride; d += stride;
} }
close(lfd); close(lfd);
blit();
return true; return true;
} }
@@ -1670,6 +1671,7 @@ void CFrameBuffer::paintBackground()
{ {
paintBoxRel(0, 0, xRes, yRes, backgroundColor); paintBoxRel(0, 0, xRes, yRes, backgroundColor);
} }
blit();
} }
void CFrameBuffer::SaveScreen(int x, int y, int dx, int dy, fb_pixel_t * const memp) void CFrameBuffer::SaveScreen(int x, int y, int dx, int dy, fb_pixel_t * const memp)
@@ -1976,4 +1978,5 @@ void CFrameBuffer::paintMuteIcon(bool paint, int ax, int ay, int dx, int dy, boo
} }
else else
paintBackgroundBoxRel(ax, ay, dx, dy); paintBackgroundBoxRel(ax, ay, dx, dy);
blit();
} }