if you press X in the corner it unloads the graphicsdevice so then anything that uses textures can cause an exception. Where escape uses a graceful exit basically checks to see if it's okay to close the game before it does. I'm reading how to capture the close button. Though the code I tried isn't working.
if you press X in the corner it unloads the graphicsdevice so then anything that uses textures can cause an exception. Where escape uses a graceful exit basically checks to see if it's okay to close the game before it does. I'm reading how to capture the close button. Though the code I tried isn't working.