GraphicsDevice stops working occasionally in winforms

Last post 04-21-2008, 1:33 PM by phil. 0 replies.
Sort Posts: Previous Next
  •  04-21-2008, 1:33 PM

    GraphicsDevice stops working occasionally in winforms

    I have an app based on the model-viewer winforms sample.  Every once in a while (but often enough to be annoying), the GraphicsDevice-based window stops painting.  It doesn't seem to be triggered by anything special (e.g. minimizing the window does not trigger it).

    It's still getting paint messages (my Draw code is being executed), but nothing shows up.  Resizing the window 'vigorously' fixes it.

    I looked at the GraphicsDevice object in the debugger when it is reproing, and it seemed fine.

    Any ideas on what I can do to track this down?

     

View as RSS news feed in XML
©2007 Microsoft Corporation. All rights reserved. Privacy Statement Terms of Use Code of Conduct Feedback