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

Sam Edwards cfsworks at gmail.com
Tue Nov 6 06:15:33 CST 2012


On Nov 6, 2012, at 3:45, Henri Verbeet <hverbeet at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20121106/48af3bf9/attachment.html>


More information about the wine-devel mailing list