mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-22 11:31:57 -04:00
(Web port) Fix virtual cursor transparency (#595)
This commit is contained in:
parent
c9930d10f9
commit
42f877e177
@ -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…
x
Reference in New Issue
Block a user