Advertisement
Guest User

Untitled

a guest
Jan 18th, 2013
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.16 KB | None | 0 0
  1. Index: D:/encodes/bizhawksrc/BizHawk.MultiClient/RenderPanel.cs
  2. ===================================================================
  3. --- D:/encodes/bizhawksrc/BizHawk.MultiClient/RenderPanel.cs    (revision 4255)
  4. +++ D:/encodes/bizhawksrc/BizHawk.MultiClient/RenderPanel.cs    (working copy)
  5. @@ -523,8 +523,8 @@
  6.                 Device.SetSamplerState(0, SamplerState.MagFilter, TextureFilter.Point);
  7.                 Device.SetSamplerState(0, SamplerState.MinFilter, TextureFilter.Point);
  8.             }
  9. -           Sprite.Transform = Matrix.Scaling(finalScale, finalScale, 0f);
  10. -           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);
  11. +           Sprite.Transform = Matrix.Scaling(-finalScale, finalScale, 0f);
  12. +           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);
  13.             Sprite.End();
  14.  
  15.             Device.EndScene();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement