neutrino: fix artefacts with scaling framebuffer and 1080i

This commit is contained in:
Stefan Seyfried
2012-03-10 13:54:24 +01:00
parent d0e13f3036
commit 1182430ac3
5 changed files with 43 additions and 10 deletions

View File

@@ -888,7 +888,7 @@ const char * CPLPINInput::getHint1(void)
int CPLPINInput::exec( CMenuTarget* parent, const std::string & )
{
fb_pixel_t * pixbuf = new fb_pixel_t[(width+ 2* borderwidth) * (height+ 2* borderwidth)];
fb_pixel_t * pixbuf = new fb_pixel_t[frameBuffer->scaleX(width+ 2* borderwidth) * frameBuffer->scaleY(height+ 2* borderwidth)];
if (pixbuf != NULL)
frameBuffer->SaveScreen(x- borderwidth, y- borderwidth, width+ 2* borderwidth, height+ 2* borderwidth, pixbuf);