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
+1 -1
View File
@@ -64,7 +64,7 @@ namespace Barotrauma.Lights
if (lightEffect == null)
{
lightEffect = new BasicEffect(GameMain.CurrGraphicsDevice);
lightEffect = new BasicEffect(GameMain.Instance.GraphicsDevice);
lightEffect.VertexColorEnabled = false;
lightEffect.TextureEnabled = true;