[PATCH v2 1/4] ddraw: Don't write out if a ddraw1 surface of size 0 is requested.
hverbeet at gmail.com
Fri Jan 27 06:43:03 CST 2017
On 26 January 2017 at 06:20, Alex Henrie <alexhenrie24 at gmail.com> wrote:
> + hr = IDirectDraw_CreateSurface(ddraw, &surface_desc, &surface, NULL);
> + ok(hr == E_INVALIDARG, "Got unexpected hr %#x.\n", hr);
> + ok(surface == (IDirectDrawSurface *)0xdeadbeef || broken(!surface) /* 32-bit on Win8/10 */,
> + "Got unexpected surface %p.\n", surface);
Where does this pass without the broken()? It writes NULL to surface
for me on Windows 7, and appears to handle the exception when an
invalid pointer is passed in.
More information about the wine-devel