Fix regression in color keying with RGB mask.
This commit is contained in:
parent
1845444424
commit
cb0a4595ba
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue