no blurry presentation on ati cards by setting minify filter to point. to be honest, i cant fathom why this fixed it, since we're magnifying, not minifying. maybe its auto-aniso heuristic was getting triggered. further research: setting card to fixed 2x aniso disables heuristics and would have fixed this issue, since the correct mag filter (point) would get chosen as we specified. however this fix is still technically correct.
This commit is contained in:
parent
5b86a9c375
commit
51547d208a
|
@ -367,7 +367,7 @@ namespace BizHawk.MultiClient
|
|||
if (overlay) flags |= SpriteFlags.AlphaBlend;
|
||||
Sprite.Begin(flags);
|
||||
Device.SetSamplerState(0, SamplerState.MagFilter, TextureFilter.Point);
|
||||
Device.SetSamplerState(1, SamplerState.MagFilter, TextureFilter.Point);
|
||||
Device.SetSamplerState(0, SamplerState.MinFilter, TextureFilter.Point);
|
||||
Sprite.Transform = Matrix.Scaling(finalScale, finalScale, 0f);
|
||||
Sprite.Draw(Texture.Texture, new Rectangle(0, 0, surface.Width, surface.Height), new Vector3(surface.Width / 2f, surface.Height / 2f, 0), new Vector3(backingControl.Size.Width / 2f / finalScale, backingControl.Size.Height / 2f / finalScale, 0), Color.White);
|
||||
if (overlay) Device.SetRenderState(RenderState.AlphaBlendEnable, false);
|
||||
|
|
Loading…
Reference in New Issue