[PATCH 2/5] ddraw/tests: Add some color key tests for complex surfaces.

Stefan Dösinger stefandoesinger at gmail.com
Wed Jan 8 04:46:43 CST 2014


Am 08.01.2014 um 10:56 schrieb Henri Verbeet <hverbeet at codeweavers.com>:

> +    for (i = 0; i < 7; ++i)
> +    {
> +        hr = IDirectDrawSurface_GetAttachedSurface(mipmap, &caps, &tmp);
> +        ok(SUCCEEDED(hr), "Failed to get attached surface, i %u, hr %#x.\n", i, hr);
> +        hr = IDirectDrawSurface_GetColorKey(tmp, DDCKEY_SRCBLT, &color_key);
> +        ok(hr == DDERR_NOCOLORKEY, "Got unexpected hr %#x, i %u.\n", hr, i);
> +        IDirectDrawSurface_Release(mipmap);
> +        mipmap = tmp;
> +    }
What is the 3D rendering and blitting behavior of the mipmap sublevels? Does an application have to set the color key on all surfaces to get proper color keying on a mipmapped texture, or do the sublevels use the color key from the root surface?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20140108/bd43d827/attachment.sig>


More information about the wine-devel mailing list