(Web port) Fix virtual cursor transparency (#595)

This commit is contained in:
Christian Semmler 2025-07-13 19:16:03 -07:00 committed by GitHub
parent c9930d10f9
commit 42f877e177
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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