From 489dbc51ae1e312b6a9441dfac3bfcf8020b6293 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Wed, 14 Sep 2016 19:12:27 +0200 Subject: [PATCH] st/nine: Print interface id in NineSurface9_GetContainer To ease debugging print interface id. Signed-off-by: Patrick Rudolph Reviewed-by: Axel Davy --- src/gallium/state_trackers/nine/surface9.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/state_trackers/nine/surface9.c index 45a37f4cd51..508fa9a508d 100644 --- a/src/gallium/state_trackers/nine/surface9.c +++ b/src/gallium/state_trackers/nine/surface9.c @@ -253,6 +253,11 @@ NineSurface9_GetContainer( struct NineSurface9 *This, void **ppContainer ) { HRESULT hr; + char guid_str[64]; + + DBG("This=%p riid=%p id=%s ppContainer=%p\n", + This, riid, riid ? GUID_sprintf(guid_str, riid) : "", ppContainer); + if (!NineUnknown(This)->container) return E_NOINTERFACE; hr = NineUnknown_QueryInterface(NineUnknown(This)->container, riid, ppContainer); -- 2.30.2