Am Freitag, 21. April 2006 19:57 schrieb Stefan Dösinger:
This patch implements IWineD3DSurface::GetDC and IWineD3DSurface::ReleaseDC. The code is basically taken from dlls/ddraw/surface_dib.c
Changelog: Stefan Dösinger(for CodeWeavers): Implement IWineD3DSurface::GetDC and IWineD3DSurface::ReleaseDC
Alexandre, please don't apply this patch. I have found some problems with palettized surfaces and 24 bit textures, and I found that I should keep the dib section after it has been created once for performance reasons.
Stefan