wined3d: Improve a TRACE

Henri Verbeet hverbeet at codeweavers.com
Tue Sep 16 07:55:40 CDT 2008


%#x is a more reasonable format for target
---
 dlls/wined3d/surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 4e7626c..8087252 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -624,7 +624,7 @@ static void WINAPI IWineD3DSurfaceImpl_UnLoad(IWineD3DSurface *iface) {
 
 void WINAPI IWineD3DSurfaceImpl_SetGlTextureDesc(IWineD3DSurface *iface, UINT textureName, int target) {
     IWineD3DSurfaceImpl *This = (IWineD3DSurfaceImpl *)iface;
-    TRACE("(%p) : setting textureName %u, target %i\n", This, textureName, target);
+    TRACE("(%p) : setting textureName %u, target %#x\n", This, textureName, target);
     if (This->glDescription.textureName == 0 && textureName != 0) {
         IWineD3DSurface_ModifyLocation(iface, SFLAG_INTEXTURE, FALSE);
         if((This->Flags & SFLAG_LOCATIONS) == 0) {
-- 
1.5.6.4



--------------040209070603020000060605--



More information about the wine-patches mailing list