You may not call SetData on a resource while it is actively set on the GraphicsDevice. Unset it from

解决办法是在绘制前加入

GraphicsDevice.Textures[0] = null;

 

让显卡存的图像清空

你可能感兴趣的:(null)