mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-31 04:01:16 +00:00
Fix
This commit is contained in:
parent
75e04b8d62
commit
04de75e09e
@ -618,10 +618,14 @@ LPDIRECTDRAWSURFACE MxDisplaySurface::VTable0x44(
|
|||||||
bitmapSrcPtr += rowSeek;
|
bitmapSrcPtr += rowSeek;
|
||||||
surfaceData = (MxU16*) ((MxU8*) surfaceData + newPitch);
|
surfaceData = (MxU16*) ((MxU8*) surfaceData + newPitch);
|
||||||
}
|
}
|
||||||
|
|
||||||
surface->Unlock(ddsd.lpSurface);
|
surface->Unlock(ddsd.lpSurface);
|
||||||
|
|
||||||
if (p_transparent && surface) {
|
if (p_transparent && surface) {
|
||||||
DDCOLORKEY key;
|
DDCOLORKEY key;
|
||||||
surface->SetColorKey(8, &key);
|
key.dwColorSpaceHighValue = 0;
|
||||||
|
key.dwColorSpaceLowValue = 0;
|
||||||
|
surface->SetColorKey(DDCKEY_SRCBLT, &key);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user