Merge pull request #205 from mrpimpunicorn/master

Fixed transparency issues with interface
This commit is contained in:
Drew DeVault 2015-09-30 16:36:58 -04:00
commit 01e4a43d2b

View File

@ -26,7 +26,7 @@ namespace TrueCraft.Client.Modules
public void Draw(GameTime gameTime) public void Draw(GameTime gameTime)
{ {
SpriteBatch.Begin(samplerState: SamplerState.PointClamp); SpriteBatch.Begin(samplerState: SamplerState.PointClamp, blendState: BlendState.NonPremultiplied);
SpriteBatch.Draw(Icons, new Vector2( SpriteBatch.Draw(Icons, new Vector2(
Game.GraphicsDevice.Viewport.Width / 2 - (8 * Game.ScaleFactor * 2), Game.GraphicsDevice.Viewport.Width / 2 - (8 * Game.ScaleFactor * 2),