diff options
author | Patrick Rudolph <[email protected]> | 2016-09-14 19:12:27 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-10-10 23:43:50 +0200 |
commit | 489dbc51ae1e312b6a9441dfac3bfcf8020b6293 (patch) | |
tree | 7b523207f190a80211c0be6a0af96fc446178669 /src/gallium/state_trackers/nine/surface9.c | |
parent | e63a38832b7aba644f7dde4c1da7d9e217cfcf3e (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]>
Diffstat (limited to 'src/gallium/state_trackers/nine/surface9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/surface9.c | 5 |
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); |