Fix regression in color keying with RGB mask.

This commit is contained in:
Maxime Bellengé 2005-08-22 09:20:51 +00:00 committed by Alexandre Julliard
parent 1845444424
commit cb0a4595ba
1 changed files with 1 additions and 1 deletions

View File

@ -819,7 +819,7 @@ DIB_DirectDrawSurface_Blt(LPDIRECTDRAWSURFACE7 iface, LPRECT rdst,
} }
} else { } else {
LONG dstyinc = ddesc.u1.lPitch, dstxinc = bpp; LONG dstyinc = ddesc.u1.lPitch, dstxinc = bpp;
DWORD keylow = 0, keyhigh = 0, keymask = 0; DWORD keylow = 0, keyhigh = 0, keymask = 0xFFFFFFFF;
if (dwFlags & (DDBLT_KEYSRC | DDBLT_KEYDEST | DDBLT_KEYSRCOVERRIDE | DDBLT_KEYDESTOVERRIDE)) { if (dwFlags & (DDBLT_KEYSRC | DDBLT_KEYDEST | DDBLT_KEYSRCOVERRIDE | DDBLT_KEYDESTOVERRIDE)) {
if (dwFlags & DDBLT_KEYSRC) { if (dwFlags & DDBLT_KEYSRC) {