st/nine: Print interface id in NineSurface9_GetContainer
authorPatrick Rudolph <siro@das-labor.org>
Wed, 14 Sep 2016 17:12:27 +0000 (19:12 +0200)
committerAxel 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/surface9.c

index 45a37f4cd5156a706f438a463798250d78c0a46f..508fa9a508df9cf075f21e6017b01c203e6a7980 100644 (file)
@@ -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);