BUG: Device Created/Reset etc not called back
The event handlers for Device Created/Reset etc are not called back when they are installed "too late", and that's the case for the SpaceWar sample.
It seems that it needs to be done before the GraphicsComponent is added to the GameComponents collection.
Can anyone confirm?
[305 byte] By [
Laurent] at [2007-12-25]
This is the intended behavior.
The GraphicsComponent creates the GraphicsDevice when it is first initialised, and that happens when the component is added to GameComponents.
If you subscribe to the events later on, the device has already been created, so the events will already have been fired.