ddraw/tests: Remove broken tests of D3DTRANSFORM_UNCLIPPED.

This commit is contained in:
Erich E. Hoover 2014-02-16 14:14:13 -07:00 committed by Alexandre Julliard
parent 09311834bb
commit a56ea6e5d9

View file

@ -1236,14 +1236,6 @@ static void Direct3D1Test(void)
&i);
ok(hr == D3D_OK, "IDirect3DViewport_TransformVertices returned %08x\n", hr);
transformdata.lpHOut = outH;
memset(outH, 0xcc, sizeof(outH));
hr = IDirect3DViewport_TransformVertices(Viewport, sizeof(testverts) / sizeof(testverts[0]),
&transformdata, D3DTRANSFORM_UNCLIPPED,
&i);
ok(hr == D3D_OK, "IDirect3DViewport_TransformVertices returned %08x\n", hr);
ok(i == 0, "Offscreen is %d\n", i);
for(i = 0; i < sizeof(testverts) / sizeof(testverts[0]); i++) {
static const struct v_out cmp[] = {
{128.0, 128.0, 0.0, 1}, {129.0, 127.0, 1.0, 1}, {127.0, 129.0, -1, 1},
@ -1256,12 +1248,6 @@ static void Direct3D1Test(void)
out[i].x, out[i].y, out[i].z, out[i].rhw,
cmp[i].x, cmp[i].y, cmp[i].z, cmp[i].rhw);
}
for(i = 0; i < sizeof(outH); i++) {
if(((unsigned char *) outH)[i] != 0xcc) {
ok(FALSE, "Homogeneous output was generated despite UNCLIPPED flag\n");
break;
}
}
SET_VP_DATA(vp_data);
hr = IDirect3DViewport_SetViewport(Viewport, &vp_data);
@ -1306,6 +1292,7 @@ static void Direct3D1Test(void)
cmp[i].x, cmp[i].y, cmp[i].z, cmp[i].rhw);
}
transformdata.lpHOut = outH;
memset(out, 0xcc, sizeof(out));
hr = IDirect3DViewport_TransformVertices(Viewport, sizeof(testverts) / sizeof(testverts[0]),
&transformdata, D3DTRANSFORM_CLIPPED,