Direct3D device resizing
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 开发者_Python百科set up correctly the device?
Calling Device.TestCooperativeLevel() after the panel resize solved my problem!
精彩评论