use nearest neighbor filtering when resizing an avi dump without padding, instead of bilinear.

This commit is contained in:
zeromus 2014-11-25 19:34:27 +00:00
parent 50c4414a93
commit 16896dc858
1 changed files with 2 additions and 0 deletions

View File

@ -3063,6 +3063,8 @@ namespace BizHawk.Client.EmuHawk
}
else
{
g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
g.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.Half;
g.DrawImage(bmpin, new Rectangle(0, 0, bmpout.Width, bmpout.Height));
}
}