Re: [PATCH v2 1/4] ddraw: Don't write out if a ddraw1 surface of size 0 is requested.
Jan. 27, 2017
12:43 p.m.
On 26 January 2017 at 06:20, Alex Henrie <alexhenrie24(a)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.
3345
Age (days ago)
3345
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet