[PATCH] d3d9/tests: Add test for IDirect3DDevice9_Reset with BackBufferWidth/Height = 0.
cfsworks at gmail.com
Mon Nov 5 22:01:15 CST 2012
wined3d currently fails to resize the swapchain to the size of the
window when Reset is invoked to request windowed mode with
BackBufferWidth/BackBufferHeight equal to 0. According to MSDN (and
indeed the case on Windows), a 0 in either of these fields means to use
instead the corresponding dimension of the client area of hDeviceWindow
(or the focus window, if hDeviceWindow is NULL)
Related to bugs 13872, 27050, and anything else that relies on this
behavior to handle window resizing correctly.
Perhaps a similar test is necessary in other Direct3D versions, but I
haven't yet looked into it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3175 bytes
Desc: not available
More information about the wine-patches