views:

156

answers:

1

My application has a panel control associated with a Direct3D device. My problem is that when the panel is resized the backbuffer isn't resized accordingly witch leads to a bad quality in the direct3d display.

How can I handle my panel resizing to set up correctly the device?

A: 

Calling Device.TestCooperativeLevel() after the panel resize solved my problem!

tinmaru