WineD3D: DDS file writer

H. Verbeet hverbeet at
Tue Jul 25 09:39:19 CDT 2006

On 25/07/06, Stefan Dösinger <stefan at> wrote:
> I have written this function while debugging the font issue in Battlefield
> 1942. It writes the surface contents unmodified in a .dds file which can be
> read by the dxtex utility in the DirectX sdk, and a few Linux applications.
> It doesn't have to convert the surface's content, so it minimizes possible
> bugs in the dumping code. I have #if 0 -ed the code because it is only needed
> for debugging and can be activated as needed, but I think it can be quite
> useful to debug issues with compressed surfaces.
Why is this in surface_gdi.c instead of surface.c?

More information about the wine-devel mailing list