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

Stefan Dösinger stefandoesinger at gmail.com
Wed Jan 8 06:13:37 CST 2014

Am 08.01.2014 um 13:04 schrieb Henri Verbeet <hverbeet at gmail.com>:

> On 8 January 2014 12:40, Stefan Dösinger <stefandoesinger at gmail.com> wrote:
>>> I somewhat suspect it'll use the root
>>> color key for 3D rendering and the key from individual surfaces for
>>> blits. The current code is just wrong either way though.
>> Did you test if it is possible to set a color key on a mipmap sublevel?
> I just did, looks like it returns DDERR_NOTONMIPMAPSUBLEVEL.
I guess that answers where the color keys for draws and blits involving mipmaps come from - assuming those operations even have a defined result.

I’ll test Prince of Persia 3D once I’m back on Linux with your patches. This game uses color keys, and I am fairly sure it uses mipmapped textures. I don’t know if it combines those two though.

-------------- 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/9f549181/attachment.sig>

More information about the wine-devel mailing list