[Bug 10614] Myst Online: Uru Live: wrong cursor

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 17 16:56:45 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=10614





--- Comment #11 from Andrej <andrej.sinicyn at gmx.de>  2008-01-17 16:56:44 ---
OK, finally I think that I localized the problem, though I'm still searching
where exactly it goes wrong.
The Cursor is manipulated with bitmap functions, so the cursor can contain
user's name.
I traced curor and bitmap and found these interesting lines:
---------------------
trace:cursor:LoadIconA 0x400000, #0087
trace:cursor:CURSORICON_Load 0x400000, #0087, 32x32, colors 256, fCursor 0,
flags 0x8040
trace:cursor:CreateIconFromResourceEx 0xb8f768 (2216 bytes), ver 00030000,
32x32 icon 
trace:bitmap:CreateDIBitmap hdc=0x198, header=0x13b9d0, init=4, bits=0xb8fb90,
data=0x13b9d0, coloruse=0 (bitmap: width=32, height=32, bpp=8, compr=0)
trace:bitmap:CreateCompatibleBitmap (0x198,32,32) =
trace:bitmap:CreateBitmapIndirect 32x32, 1 colors returning 0x3e4
trace:bitmap:CreateCompatibleBitmap             0x3e4
---------------------
Even if it's not the concrete point of problem, it shows that somewhere the
desired bitmap depth of 8 bits per pixel (256 colors) disappears and is reduced
to 1 color.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list