summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Rudolph <[email protected]>2016-09-14 19:12:27 +0200
committerAxel Davy <[email protected]>2016-10-10 23:43:50 +0200
commit489dbc51ae1e312b6a9441dfac3bfcf8020b6293 (patch)
tree7b523207f190a80211c0be6a0af96fc446178669
parente63a38832b7aba644f7dde4c1da7d9e217cfcf3e (diff)
st/nine: Print interface id in NineSurface9_GetContainer
To ease debugging print interface id. Signed-off-by: Patrick Rudolph <[email protected]> Reviewed-by: Axel Davy <[email protected]>
-rw-r--r--src/gallium/state_trackers/nine/surface9.c5
1 files changed, 5 insertions, 0 deletions
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);