[PATCH 4/4] ddraw/tests: Port test_color_fill to earlier versions.

Henri Verbeet hverbeet at gmail.com
Mon Mar 23 06:37:42 CDT 2015


On 20 March 2015 at 12:47, Stefan Dösinger <stefan at 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



More information about the wine-devel mailing list