开发者

Direct3D device resizing

开发者 https://www.devze.com 2022-12-23 18:36 出处:网络
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 direct3

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

精彩评论

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