开发者

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜