(Web port) Fix virtual cursor transparency

This commit is contained in:
Christian Semmler 2025-07-13 18:12:50 -07:00
parent c9930d10f9
commit a9be9df0d6
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -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;
}
}