[PATCH 3/5] ddraw: Trace which surfaces we enumerate in ddraw7_EnumSurfaces().

Henri Verbeet hverbeet at codeweavers.com
Mon Aug 29 11:58:57 CDT 2011


---
 dlls/ddraw/ddraw.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c
index a404d4f..20c8df7 100644
--- a/dlls/ddraw/ddraw.c
+++ b/dlls/ddraw/ddraw.c
@@ -3886,6 +3886,7 @@ static HRESULT WINAPI ddraw7_EnumSurfaces(IDirectDraw7 *iface, DWORD Flags,
         surf = LIST_ENTRY(entry, IDirectDrawSurfaceImpl, surface_list_entry);
         if (all || (nomatch != ddraw_match_surface_desc(DDSD, &surf->surface_desc)))
         {
+            TRACE("Enumerating surface %p.\n", surf);
             desc = surf->surface_desc;
             IDirectDrawSurface7_AddRef(&surf->IDirectDrawSurface7_iface);
             if (Callback(&surf->IDirectDrawSurface7_iface, &desc, Context) != DDENUMRET_OK)
-- 
1.7.3.4




More information about the wine-patches mailing list