d3d: unhandled texture formats

Raphael fenix at club-internet.fr
Tue Apr 4 18:28:21 CDT 2006

On Tuesday 04 April 2006 12:48, Ivan Gyurdiev wrote:
> The F.E.A.R and BF2 demos crash immediately after complaining about:
> fixme:d3d:D3DFmtGetBpp Unhandled fmt(36,WINED3DFMT_A16B16G16R16)
> fixme:d3d:debug_d3dformat Unrecognized 81 D3DFORMAT!

Just fix it :)

> I have some native dlls installed, d3dx9_*.dll, mscoree.dll... that have
> no wine implementation.

yes, no problem.

> According to msdn:
> D3DFMT_A16B16G16R16   36   64-bit pixel format using 16 bits for each
> component.
use  GL_RGBA16_EXT for that (GL format is GL_RGBA,GL_UNSIGNED_SHORT)
> D3DFMT_L16                      81  16-bit luminance only.

> The second one is missing from wined3d_private.h
> Both are missing from D3DFmtGetBpp.
> Also note that there's default handling in D3DFmtGetBpp that says:
>     /* Guess at the highest value of the above */
> and selects 4 bytes per pixel, but the highest value of the above is 8 -
> and it's used by D3DFMT_A16B16G16R16 - maybe that's why it crashes.

Yes i thnik so

And as i just said, you can easily fix it (using apropriate textures code 
extensions and check support for it)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060405/3be6d7ac/attachment.pgp

More information about the wine-devel mailing list