Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualphil_t

Posted 24 June 2013 - 03:49 AM

As is often the case, MSDN is wrong (see here: http://xboxforums.create.msdn.com/forums/p/27316/150367.aspx#150367). It's pretty easy to verify this yourself by adding a DeviceReset handler, and putting a bp on it and on your game's LoadContent.

 

XNA will recreate most graphics resources automatically. The only resources that "lose" their data on a device reset are render targets, DynamicVertexBuffers, DynamicIndexBuffers and maybe I few more I can't remember.


#1phil_t

Posted 24 June 2013 - 03:46 AM

MSDN is wrong (see here: http://xboxforums.create.msdn.com/forums/p/27316/150367.aspx#150367). It's pretty easy to verify this yourself by adding a DeviceReset handler, and putting a bp on it and on your game's LoadContent.


PARTNERS