Re: [PATCH] d3d9/tests: Add test for IDirect3DDevice9_Reset with BackBufferWidth/Height = 0.
6 Nov
2012
6 Nov
'12
12:15 p.m.
On Nov 6, 2012, at 3:45, Henri Verbeet <hverbeet(a)gmail.com> wrote:
Yeah, we'll want a similar test for d3d8.
Okay, I'll write that as soon as the d3d9 test is accepted.
You're probably looking for AdjustWindowRect() and SetWindowPos().
Thank you, I didn't know about AdjustWindowRect(), but why SetWindowPos()? Is this preferred over MoveWindow() for any reason?
Testing the viewport dimensions is useful, but it probably wouldn't hurt to check the swapchain's presentation parameters and the backbuffer's surface desc as well.
Good catch, I forgot to copy the relevant code for that. Thanks, Sam
4787
Age (days ago)
4787
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sam Edwards