Re: [PATCH] d3d9/tests: Add test for IDirect3DDevice9_Reset with BackBufferWidth/Height = 0.

2012-11-06 Thread Sam Edwards
On Nov 6, 2012, at 3:45, Henri Verbeet 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()?

Re: [PATCH] d3d9/tests: Add test for IDirect3DDevice9_Reset with BackBufferWidth/Height = 0.

2012-11-06 Thread Henri Verbeet
On 6 November 2012 05:01, Sam Edwards wrote: > Perhaps a similar test is necessary in other Direct3D versions, but I > haven't yet looked into it. > Yeah, we'll want a similar test for d3d8. > +/* For resizing the window, we need to know the nonclient area size */ > +ok(GetWindowRect(hwnd