mono/MonoGame — pull request #1853 by totallyeviljake (2013-07-09 05:18:54+00:00)
Title: Issue #1850 - Moved init of color bank to a static constructor

This moves the initialization of the static color bank to a static constructor. The repeated new() of the prior version's color bank has a small but noticeable affect when repeatedly called from a draw or update method. This change will abate some of the mysterious overhead associated with new() on structs.

There is no change to the serialization signature of this class. Furthermore, this does not change the XNA compatibility of this class.