From 74117baa6c4235d60312441101953915539c9a2f Mon Sep 17 00:00:00 2001 From: Ivan Gyurdiev Date: Fri, 21 Apr 2006 04:01:34 -0400 Subject: [PATCH] wined3d: Correct vtrace usage. --- dlls/wined3d/device.c | 8 ++++---- dlls/wined3d/drawprim.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 790ac12f850..12d759be210 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -308,17 +308,17 @@ void WINAPI IWineD3DDeviceImpl_SetupTextureStates(IWineD3DDevice *iface, DWORD S glDisable(GL_POINT_SMOOTH); /* Centre the texture on the vertex */ - VTRACE("glTexEnvf( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE)\n"); + VTRACE(("glTexEnvf( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE)\n")); glTexEnvf( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE); - VTRACE("glTexEnvf( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE)\n"); + VTRACE(("glTexEnvf( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE)\n")); glTexEnvf( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE); checkGLcall("glTexEnvf(...)"); - VTRACE("glEnable( GL_POINT_SPRITE_ARB )\n"); + VTRACE(("glEnable( GL_POINT_SPRITE_ARB )\n")); glEnable( GL_POINT_SPRITE_ARB ); checkGLcall("glEnable(...)"); } else { - VTRACE("glDisable( GL_POINT_SPRITE_ARB )\n"); + VTRACE(("glDisable( GL_POINT_SPRITE_ARB )\n")); glDisable( GL_POINT_SPRITE_ARB ); checkGLcall("glEnable(...)"); } diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c index c2c80048fb9..8753203f7fd 100644 --- a/dlls/wined3d/drawprim.c +++ b/dlls/wined3d/drawprim.c @@ -957,7 +957,7 @@ static void loadVertexData(IWineD3DDevice *iface, Direct3DVertexStridedData *sd) #endif - VTRACE(("glWeightPointerARB(%ld, GL_FLOAT, %ld, %p)\n", + VTRACE(("glWeightPointerARB(%d, GL_FLOAT, %ld, %p)\n", WINED3D_ATR_SIZE(blendWeights) , sd->u.s.blendWeights.dwStride, sd->u.s.blendWeights.lpData)); @@ -1484,7 +1484,7 @@ static void drawStridedSlow(IWineD3DDevice *iface, Direct3DVertexStridedData *sd D3DCOLOR_B_G(diffuseColor), D3DCOLOR_B_B(diffuseColor), D3DCOLOR_B_A(diffuseColor)); - VTRACE(("glColor4ub: r,g,b,a=%u,%u,%u,%u\n", + VTRACE(("glColor4ub: r,g,b,a=%lu,%lu,%lu,%lu\n", D3DCOLOR_B_R(diffuseColor), D3DCOLOR_B_G(diffuseColor), D3DCOLOR_B_B(diffuseColor), @@ -1495,7 +1495,7 @@ static void drawStridedSlow(IWineD3DDevice *iface, Direct3DVertexStridedData *sd /* Specular ------------------------------- */ if (sd->u.s.specular.lpData != NULL) { - VTRACE(("glSecondaryColor4ub: r,g,b=%u,%u,%u\n", + VTRACE(("glSecondaryColor4ub: r,g,b=%lu,%lu,%lu\n", D3DCOLOR_B_R(specularColor), D3DCOLOR_B_G(specularColor), D3DCOLOR_B_B(specularColor)));