Jump to content
  • Advertisement
Sign in to follow this  
SeeMe

[MDX - C#] Device event Handler

This topic is 4547 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I'm trying to handle the resize event from the device, here is my little problem : When I increase the size of my render window, it generates a lot of "Device resize events", in each resize event I manually change the backbuffer size, and so have to "Reset" my device. How can I avoid to react to all these events, exept teh latest one ? Exemple of the events raised when I'm rezising my window for 1 inch : Device is Resize Device is Lost Device is Reset Device is Resize Device is Lost Device is Reset Device is Resize Device is Lost Device is Reset Device is Resize Device is Lost Device is Reset How can I do to have it to be : Device is Resize Device is Lost Device is Reset ? Tx you !!!

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!