mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
ddraw/tests: Remove broken tests of D3DTRANSFORM_UNCLIPPED.
This commit is contained in:
parent
09311834bb
commit
a56ea6e5d9
1 changed files with 1 additions and 14 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue