From 039987cbd305e0e339e8fc501d864a23d6317c08 Mon Sep 17 00:00:00 2001 From: goyuken Date: Mon, 8 Oct 2012 15:35:18 +0000 Subject: [PATCH] implement blurry mode for GDI drawing. it actually looks a good bit different than d3d blurry? --- BizHawk.MultiClient/RenderPanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/RenderPanel.cs b/BizHawk.MultiClient/RenderPanel.cs index 434fdfa1a8..5947a12cf4 100644 --- a/BizHawk.MultiClient/RenderPanel.cs +++ b/BizHawk.MultiClient/RenderPanel.cs @@ -218,7 +218,7 @@ namespace BizHawk.MultiClient using (var g = Graphics.FromImage(tempBuffer.PeekBitmap())) { g.PixelOffsetMode = sysdrawing2d.PixelOffsetMode.HighSpeed; - g.InterpolationMode = sysdrawing2d.InterpolationMode.NearestNeighbor; + g.InterpolationMode = Global.Config.DispBlurry ? sysdrawing2d.InterpolationMode.Bilinear : sysdrawing2d.InterpolationMode.NearestNeighbor; if (transparent) g.CompositingMode = sysdrawing2d.CompositingMode.SourceOver; else g.CompositingMode = sysdrawing2d.CompositingMode.SourceCopy; g.CompositingQuality = sysdrawing2d.CompositingQuality.HighSpeed;