[1/2] d3d9: Trace the Format parameter to IDirect3DDevice9Impl_CreateTexture as hexadecimal

H. Verbeet hverbeet at gmail.com
Wed Jul 25 17:38:45 CDT 2007


In particular for FOURCC formats like the DXT ones, decimal isn't very useful.

Changelog:
  - Trace the Format parameter to IDirect3DDevice9Impl_CreateTexture
as hexadecimal
-------------- next part --------------
---

 dlls/d3d9/texture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d9/texture.c b/dlls/d3d9/texture.c
index d45385d..aa873eb 100644
--- a/dlls/d3d9/texture.c
+++ b/dlls/d3d9/texture.c
@@ -333,7 +333,7 @@ HRESULT  WINAPI  IDirect3DDevice9Impl_CreateTexture(LPDIRECT3DDEVICE9 iface, UIN
     IDirect3DDevice9Impl *This = (IDirect3DDevice9Impl *)iface;
     HRESULT hrc = D3D_OK;
     
-    TRACE("(%p) : W(%d) H(%d), Lvl(%d) d(%d), Fmt(%u), Pool(%d)\n", This, Width, Height, Levels, Usage, Format,  Pool);
+    TRACE("(%p) : W(%d) H(%d), Lvl(%d) d(%d), Fmt(%#x), Pool(%d)\n", This, Width, Height, Levels, Usage, Format,  Pool);
 
     /* Allocate the storage for the device */
     object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirect3DTexture9Impl));


More information about the wine-patches mailing list