WINED3D: Improve IWineD3DDeviceImpl_CreateTexture TRACE

H. Verbeet hverbeet at gmail.com
Sun Jul 30 16:26:21 CDT 2006


Currently this TRACE only prints the first 5 parameters. It is quite
usefull to see the other parameters, in particular Format, as well.

Changelog:
  - Improve IWineD3DDeviceImpl_CreateTexture TRACE
-------------- next part --------------
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 2185054..17a9cbb 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -1123,7 +1123,9 @@ static HRESULT  WINAPI IWineD3DDeviceImp
     unsigned int pow2Height = Height;
 
 
-    TRACE("(%p), Width(%d) Height(%d) Levels(%d) Usage(%ld) ....\n", This, Width, Height, Levels, Usage);
+    TRACE("(%p) : Width %d, Height %d, Levels %d, Usage %#lx\n", This, Width, Height, Levels, Usage);
+    TRACE("Format %#x (%s), Pool %#x, ppTexture %p, pSharedHandle %p, parent %p\n",
+            Format, debug_d3dformat(Format), Pool, ppTexture, pSharedHandle, parent);
 
     /* TODO: It should only be possible to create textures for formats 
              that are reported as supported */


More information about the wine-patches mailing list