mono/MonoGame — pull request #1364 by totallyeviljake (2013-02-14 03:14:58+00:00)
Title: This fixes an invalid cast exception when texture is null

Setvalue(texture=null) throws an invalid cast exception when it should not.