Re: [PATCH 4/4] ddraw/tests: Port test_color_fill to earlier versions.
On 20 March 2015 at 12:47, Stefan Dösinger <stefan(a)codeweavers.com> wrote:
+ if (tests[i].caps & DDSCAPS_ZBUFFER) + { + surface_desc.dwFlags &= ~DDSD_PIXELFORMAT; + surface_desc.dwFlags |= DDSD_ZBUFFERBITDEPTH; + U2(surface_desc).dwZBufferBitDepth = get_device_z_depth(device); + } + + hr = IDirectDraw2_CreateSurface(ddraw, &surface_desc, &surface, NULL); + ok(SUCCEEDED(hr), "Failed to create surface, hr %#x, surface %s.\n", hr, tests[i].name); + This crashes for me: ddraw2.c:7654: Test failed: Failed to create surface, hr 0x88760091, surface sysmem zbuffer. ddraw2.c:7654: this is the last test seen before the exception ddraw2: unhandled exception c0000005 at 00437C9D
And similarly for ddraw1: ddraw1.c:6636: Test failed: Failed to create surface, hr 0x88760091, surface sysmem zbuffer. ddraw1.c:6636: this is the last test seen before the exception ddraw1: unhandled exception c0000005 at 004167BD
participants (1)
-
Henri Verbeet