From: Patrick Rudolph Date: Wed, 14 Sep 2016 17:12:27 +0000 (+0200) Subject: st/nine: Print interface id in NineSurface9_GetContainer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=489dbc51ae1e312b6a9441dfac3bfcf8020b6293;p=mesa.git st/nine: Print interface id in NineSurface9_GetContainer To ease debugging print interface id. Signed-off-by: Patrick Rudolph Reviewed-by: Axel Davy --- 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);