Merge pull request #205 from mrpimpunicorn/master
Fixed transparency issues with interface
This commit is contained in:
commit
01e4a43d2b
@ -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),
|
||||||
|
Reference in New Issue
Block a user