public static void InitObjectDrawing(GraphicsDevice graphicsDevice) { Map._whiteTexture = new Texture2D(graphicsDevice, 1, 1, false, SurfaceFormat.Color); Map._whiteTexture.SetData(new[] { Color.White }); Map._enableRendering = true; }