ddraw: Trace which surfaces we enumerate in ddraw7_EnumSurfaces().
This commit is contained in:
parent
1870353c7a
commit
cad9cbe445
|
@ -3886,6 +3886,7 @@ static HRESULT WINAPI ddraw7_EnumSurfaces(IDirectDraw7 *iface, DWORD Flags,
|
||||||
surf = LIST_ENTRY(entry, IDirectDrawSurfaceImpl, surface_list_entry);
|
surf = LIST_ENTRY(entry, IDirectDrawSurfaceImpl, surface_list_entry);
|
||||||
if (all || (nomatch != ddraw_match_surface_desc(DDSD, &surf->surface_desc)))
|
if (all || (nomatch != ddraw_match_surface_desc(DDSD, &surf->surface_desc)))
|
||||||
{
|
{
|
||||||
|
TRACE("Enumerating surface %p.\n", surf);
|
||||||
desc = surf->surface_desc;
|
desc = surf->surface_desc;
|
||||||
IDirectDrawSurface7_AddRef(&surf->IDirectDrawSurface7_iface);
|
IDirectDrawSurface7_AddRef(&surf->IDirectDrawSurface7_iface);
|
||||||
if (Callback(&surf->IDirectDrawSurface7_iface, &desc, Context) != DDENUMRET_OK)
|
if (Callback(&surf->IDirectDrawSurface7_iface, &desc, Context) != DDENUMRET_OK)
|
||||||
|
|
Loading…
Reference in New Issue