Matteo Bruni : d3d9/tests: Rename a variable.
Alexandre Julliard
julliard at winehq.org
Wed Jul 27 13:25:24 CDT 2011
Module: wine
Branch: master
Commit: 85e729cf5d3295eec1291dc3a4e917d1d9cc824a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=85e729cf5d3295eec1291dc3a4e917d1d9cc824a
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Fri Jul 22 19:47:54 2011 +0200
d3d9/tests: Rename a variable.
---
dlls/d3d9/tests/visual.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 16047bf..761a385 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -877,14 +877,14 @@ static void fog_test(IDirect3DDevice9 *device)
int i;
/* Gets full z based fog with linear fog, no fog with specular color */
- struct sVertex unstransformed_1[] = {
+ struct sVertex untransformed_1[] = {
{-1, -1, 0.1f, 0xFFFF0000, 0xFF000000 },
{-1, 0, 0.1f, 0xFFFF0000, 0xFF000000 },
{ 0, 0, 0.1f, 0xFFFF0000, 0xFF000000 },
{ 0, -1, 0.1f, 0xFFFF0000, 0xFF000000 },
};
/* Ok, I am too lazy to deal with transform matrices */
- struct sVertex unstransformed_2[] = {
+ struct sVertex untransformed_2[] = {
{-1, 0, 1.0f, 0xFFFF0000, 0xFF000000 },
{-1, 1, 1.0f, 0xFFFF0000, 0xFF000000 },
{ 0, 1, 1.0f, 0xFFFF0000, 0xFF000000 },
@@ -960,8 +960,8 @@ static void fog_test(IDirect3DDevice9 *device)
ok( hr == D3D_OK, "SetFVF returned %08x\n", hr);
/* Untransformed, vertex fog = NONE, table fog = NONE: Read the fog weighting from the specular color */
hr = IDirect3DDevice9_DrawIndexedPrimitiveUP(device, D3DPT_TRIANGLELIST, 0 /* MinIndex */, 4 /* NumVerts */,
- 2 /*PrimCount */, Indices, D3DFMT_INDEX16, unstransformed_1,
- sizeof(unstransformed_1[0]));
+ 2 /*PrimCount */, Indices, D3DFMT_INDEX16, untransformed_1,
+ sizeof(untransformed_1[0]));
ok(hr == D3D_OK, "DrawIndexedPrimitiveUP returned %08x\n", hr);
/* That makes it use the Z value */
@@ -971,8 +971,8 @@ static void fog_test(IDirect3DDevice9 *device)
* Use the Z value as input into the equation
*/
hr = IDirect3DDevice9_DrawIndexedPrimitiveUP(device, D3DPT_TRIANGLELIST, 0 /* MinIndex */, 4 /* NumVerts */,
- 2 /*PrimCount */, Indices, D3DFMT_INDEX16, unstransformed_2,
- sizeof(unstransformed_1[0]));
+ 2 /*PrimCount */, Indices, D3DFMT_INDEX16, untransformed_2,
+ sizeof(untransformed_2[0]));
ok(hr == D3D_OK, "DrawIndexedPrimitiveUP returned %08x\n", hr);
/* transformed verts */
@@ -1051,12 +1051,12 @@ static void fog_test(IDirect3DDevice9 *device)
* color and has fixed fogstart and fogend.
*/
hr = IDirect3DDevice9_DrawIndexedPrimitiveUP(device, D3DPT_TRIANGLELIST, 0 /* MinIndex */, 4 /* NumVerts */,
- 2 /*PrimCount */, Indices, D3DFMT_INDEX16, unstransformed_1,
- sizeof(unstransformed_1[0]));
+ 2 /*PrimCount */, Indices, D3DFMT_INDEX16, untransformed_1,
+ sizeof(untransformed_1[0]));
ok(hr == D3D_OK, "DrawIndexedPrimitiveUP returned %08x\n", hr);
hr = IDirect3DDevice9_DrawIndexedPrimitiveUP(device, D3DPT_TRIANGLELIST, 0 /* MinIndex */, 4 /* NumVerts */,
- 2 /*PrimCount */, Indices, D3DFMT_INDEX16, unstransformed_2,
- sizeof(unstransformed_1[0]));
+ 2 /*PrimCount */, Indices, D3DFMT_INDEX16, untransformed_2,
+ sizeof(untransformed_2[0]));
ok(hr == D3D_OK, "DrawIndexedPrimitiveUP returned %08x\n", hr);
hr = IDirect3DDevice9_SetFVF(device, D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_SPECULAR);
More information about the wine-cvs
mailing list