[Bug 27720] World of Goo demo rendering problems with builtin d3dx9_38

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jul 13 14:02:25 CDT 2011


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

Travis Athougies <iammisc at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iammisc at gmail.com

--- Comment #1 from Travis Athougies <iammisc at gmail.com> 2011-07-13 14:02:24 CDT ---
Right now, all indexed formats in D3DXGetImageInfoFromFileInMemory are coerced
into the D3DFMT_L8 format, which is not only unsupported by the other D3DX
surface functions, but also wrong. These formats are returned for bitmaps with
an associated palette. This palette needs to be retrieved from IWICBitmapDecode
in D3DXLoadSurfaceFromFileInMemory, converted into the equivalent D3D
PALETTEENTRY array and passed on to D3DXLoadSurfaceFromMemory.

Then, D3DXLoadSurfaceFromMemory needs to be tweaked so that it can copy data
from and indexed bitmap to an indexed surface, using the source and destination
palette to match colors.

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