winport: fix OSD with prescale + single CPU

This commit is contained in:
zeromus 2017-04-26 15:02:46 -05:00
parent a0d42e1536
commit 669515bf6e
1 changed files with 1 additions and 1 deletions

View File

@ -1968,7 +1968,7 @@ static void DoDisplay(bool firstTime)
//on such lousy computers
if(CommonSettings.single_core())
{
aggDraw.hud->attach((u8*)video.buffer, 256, 384, 1024);
aggDraw.hud->attach((u8*)video.buffer, video.width, video.height, video.width*4);
DoDisplay_DrawHud();
}
}