Commit 34d6c9f7 authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

- better debug output for surface creation

- added (experimental) DIBSection implementation of GetDC / ReleaseDC
parent 0ed42588
...@@ -145,6 +145,12 @@ struct _common_directdrawsurface ...@@ -145,6 +145,12 @@ struct _common_directdrawsurface
DDSURFACEDESC surface_desc; DDSURFACEDESC surface_desc;
/* For Get / Release DC methods */
HBITMAP DIBsection;
void *bitmap_data;
HDC hdc;
HGDIOBJ holdbitmap;
/* Callback for loaded textures */ /* Callback for loaded textures */
IDirect3DTexture2Impl* texture; IDirect3DTexture2Impl* texture;
HRESULT WINAPI (*SetColorKey_cb)(IDirect3DTexture2Impl *texture, DWORD dwFlags, LPDDCOLORKEY ckey ) ; HRESULT WINAPI (*SetColorKey_cb)(IDirect3DTexture2Impl *texture, DWORD dwFlags, LPDDCOLORKEY ckey ) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment