From f2eacef33de8d7b136b485927cb10f15d7439d48 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Wed, 14 Sep 2016 19:12:58 +0200 Subject: [PATCH] st/nine: Print interface id in NineVolume9_GetContainer To ease debugging print interface id. Signed-off-by: Patrick Rudolph Reviewed-by: Axel Davy --- src/gallium/state_trackers/nine/volume9.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/state_trackers/nine/volume9.c b/src/gallium/state_trackers/nine/volume9.c index 0302b099931..eb712f5a324 100644 --- a/src/gallium/state_trackers/nine/volume9.c +++ b/src/gallium/state_trackers/nine/volume9.c @@ -167,6 +167,11 @@ NineVolume9_GetContainer( struct NineVolume9 *This, REFIID riid, void **ppContainer ) { + 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; return NineUnknown_QueryInterface(NineUnknown(This)->container, riid, ppContainer); -- 2.30.2