Removed a redundant DrawRectangle method & redundant sub visibility culling in GameScreen

This commit is contained in:
Regalis
2016-11-12 18:29:39 +02:00
parent 0353732e7e
commit c2098f06f8
5 changed files with 17 additions and 40 deletions
+1 -1
View File
@@ -358,7 +358,7 @@ namespace Barotrauma
}
rect.Inflate(8, 8);
GUI.DrawRectangle(spriteBatch, rect, Color.Black, 8);
GUI.DrawRectangle(spriteBatch, rect, Color.Black, false, 0.0f, 8);
GUI.DrawRectangle(spriteBatch, rect, Color.LightGray);
for (int i = 0; i < locations.Count; i++)