[02/10] wined3d: Make the IWineD3DDeviceImpl_ColorFill TRACE a bit more useful

H. Verbeet hverbeet at gmail.com
Thu May 3 13:57:23 CDT 2007


%d isn't the most readable format for colors.

Changelog:
  - Make the IWineD3DDeviceImpl_ColorFill TRACE a bit more useful
-------------- next part --------------
---

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

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 2ad92da..90fbd99 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -5209,7 +5209,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_ColorFill(IWineD3DDevice *iface, IWineD
     IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *) iface;
     IWineD3DSurfaceImpl *surface = (IWineD3DSurfaceImpl *) pSurface;
     WINEDDBLTFX BltFx;
-    TRACE("(%p) Colour fill Surface: %p rect: %p color: %d\n", This, pSurface, pRect, color);
+    TRACE("(%p) Colour fill Surface: %p rect: %p color: 0x%08x\n", This, pSurface, pRect, color);
 
     if (surface->resource.pool != WINED3DPOOL_DEFAULT && surface->resource.pool != WINED3DPOOL_SYSTEMMEM) {
         FIXME("call to colorfill with non WINED3DPOOL_DEFAULT or WINED3DPOOL_SYSTEMMEM surface\n");


More information about the wine-patches mailing list