Use this version instead as the previous one didn't compile due to an extra '(' :(
Roderick
Hi,
This patch adds color keying support to *_BltOverride. It required changes to *_BltFast to properly pass 'BLT' flags instead of 'BLTFAST' to *_BltOverride. Next it adds SRC/DEST color keying to *_BltOverride.
Further to get color keying working at all it fixed a small error in LoadTexture which I paste here because it is hard to spot in the patch. Right now a check in there looks like: (This->Flags & SFLAG_GLCKEY && !(This->CKeyFlags & DDSD_CKSRCBLT)) || /* Reload: vice versa OR */ (!(This->Flags & SFLAG_GLCKEY) && !This->CKeyFlags & DDSD_CKSRCBLT) ||
The third '!' was removed as indicated by the comment this fixes color keying. Next to this some gcc warning was silenced by adding some more braces.
Regards, Roderick Colenbrander