Some cleanup (mostly removing redundancies from the GameMain class)

This commit is contained in:
Regalis
2017-05-03 00:27:13 +03:00
parent 39ddd63e0c
commit ba49f59204
12 changed files with 81 additions and 108 deletions
@@ -48,7 +48,7 @@ namespace Barotrauma
if (basicEffect == null)
{
basicEffect = new BasicEffect(GameMain.CurrGraphicsDevice);
basicEffect = new BasicEffect(GameMain.Instance.GraphicsDevice);
basicEffect.VertexColorEnabled = false;
basicEffect.TextureEnabled = true;