diff options
author | Patrick Rudolph <[email protected]> | 2016-09-14 18:44:41 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-10-10 23:43:50 +0200 |
commit | e63a38832b7aba644f7dde4c1da7d9e217cfcf3e (patch) | |
tree | d229ef41e658f97fd2ba86bba76dcd5d3ffd85c6 | |
parent | 6a1cce20b605aee4f8787b6d5ad59ee25ac7550f (diff) |
st/nine: Print interface id in NineUnknown_QueryInterface
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/iunknown.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/iunknown.c b/src/gallium/state_trackers/nine/iunknown.c index 58ed9dc73a1..6d501d8681b 100644 --- a/src/gallium/state_trackers/nine/iunknown.c +++ b/src/gallium/state_trackers/nine/iunknown.c @@ -60,8 +60,10 @@ NineUnknown_QueryInterface( struct NineUnknown *This, void **ppvObject ) { unsigned i = 0; + char guid_str[64]; - DBG("This=%p riid=%p ppvObject=%p\n", This, riid, ppvObject); + DBG("This=%p riid=%p id=%s ppvObject=%p\n", + This, riid, riid ? GUID_sprintf(guid_str, riid) : "", ppvObject); if (!ppvObject) return E_POINTER; |