mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-12 18:51:15 +00:00
(Web port) Fix virtual cursor transparency
This commit is contained in:
parent
c9930d10f9
commit
a9be9df0d6
@ -1288,6 +1288,10 @@ LPDIRECTDRAWSURFACE MxDisplaySurface::CreateCursorSurface(const CursorBitmap* p_
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
DDCOLORKEY colorkey;
|
||||
colorkey.dwColorSpaceHighValue = RGB8888_CREATE(0, 0, 0, 0);
|
||||
colorkey.dwColorSpaceLowValue = RGB8888_CREATE(0, 0, 0, 0);
|
||||
newSurface->SetColorKey(DDCKEY_SRCBLT, &colorkey);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user