wined3d: Correct vtrace usage.

This commit is contained in:
Ivan Gyurdiev 2006-04-21 04:01:34 -04:00 committed by Alexandre Julliard
parent 3d5e517e5b
commit 74117baa6c
2 changed files with 7 additions and 7 deletions

View File

@ -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(...)");
}

View File

@ -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)));