Render targets (and dynamic vertex buffers, and a few other things) lose their data when the graphics device is reset. So another option is to listen for the GraphicsDevice.DeviceReset event and just regenerate your render target then.
(Note: you don't need RenderTargetUsage.PreserveContents in the code you have above).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement