fix bug that did not remove unsupported monitor element in list.

This commit is contained in:
hecomi
2016-11-09 02:54:49 +09:00
parent f69fb6a7bb
commit 1086595d6b
@@ -53,6 +53,7 @@ public class MultipleMonitorCreator : MonoBehaviour
Destroy(info.gameObject); Destroy(info.gameObject);
} }
} }
monitors_.RemoveAll(info => info.uddTexture.monitor.state == uDesktopDuplication.MonitorState.Unsupported);
} }
} }
} }