Henri Verbeet : ddraw: Trace which surfaces we enumerate in ddraw7_EnumSurfaces().

Alexandre Julliard julliard at winehq.org
Tue Aug 30 12:48:33 CDT 2011


Module: wine
Branch: master
Commit: cad9cbe445f860afa2cbbbc96c2796a4d26caa55
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cad9cbe445f860afa2cbbbc96c2796a4d26caa55

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Aug 29 18:58:57 2011 +0200

ddraw: Trace which surfaces we enumerate in ddraw7_EnumSurfaces().

---

 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)




More information about the wine-cvs mailing list