wined3d: Properly handle backbuffer_width/_height=0 in wined3d_device_reset. (try 2)

Sam Edwards cfsworks at
Thu Apr 4 20:04:48 CDT 2013

This time I reworked the patch from scratch to make it a bit more 
obvious what's going on.

I've also added tests for resetting to fullscreen with 
BackBufferWidth/Height = 0, as well as made it more clear that the 
function indeed returns WINED3DERR_INVALIDCALL under such circumstances.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wined3d-Properly-handle-backbuffer_width-_height-0-i.patch
Type: text/x-patch
Size: 7721 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list