[WINED3D] Map D3DFMT_L16, D3DFMT_A16B16G16R16 to OpenGL formats

Jason Green jave27 at gmail.com
Mon Apr 10 07:48:51 CDT 2006


On 4/10/06, Ivan Gyurdiev <ivg2 at cornell.edu> wrote:
> Map:
>
> D3DFMT_L16 -> GL_LUMINANCE16_EXT
> D3DFMT_A16B16G16R16 -> GL_RGBA16_EXT
> as Raphael suggested.

Assuming this mapping is correct, you should also add these formats here:

http://source.winehq.org/git/?p=wine.git;a=blob;h=056c6fb76dd770c03655b7973f86113eb4284ffd;hb=eb834b39fa3c24b1531ca1f53a666040f3769009;f=dlls/wined3d/directx.c#l1122

(though, that whole part of the file could use some work)

And, possibly here:

http://source.winehq.org/git/?p=wine.git;a=blob;h=f1868cdb3de16e9bb49f11706192648637b06bcd;hb=eb834b39fa3c24b1531ca1f53a666040f3769009;f=dlls/wined3d/surface.c#l787



More information about the wine-devel mailing list