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