projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a1cce2
)
st/nine: Print interface id in NineUnknown_QueryInterface
author
Patrick Rudolph
<siro@das-labor.org>
Wed, 14 Sep 2016 16:44:41 +0000
(18:44 +0200)
committer
Axel Davy
<axel.davy@ens.fr>
Mon, 10 Oct 2016 21:43:50 +0000
(23:43 +0200)
To ease debugging print interface id.
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/iunknown.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/iunknown.c
b/src/gallium/state_trackers/nine/iunknown.c
index 58ed9dc73a110b964300f9f6a2dd804c4c788e99..6d501d8681bd3c03872ccec8eb5be7a8b25ab050 100644
(file)
--- 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;