Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: D:/encodes/bizhawksrc/BizHawk.MultiClient/RenderPanel.cs
- ===================================================================
- --- D:/encodes/bizhawksrc/BizHawk.MultiClient/RenderPanel.cs (revision 4255)
- +++ D:/encodes/bizhawksrc/BizHawk.MultiClient/RenderPanel.cs (working copy)
- @@ -523,8 +523,8 @@
- Device.SetSamplerState(0, 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);
- + 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);
- Sprite.End();
- Device.EndScene();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement