[PATCH 4/7] d3d8/tests: Set FVF in test_draw_primitive().
Matteo Bruni
mbruni at codeweavers.com
Tue Mar 12 15:25:07 CDT 2019
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
Fixes the test on the Windows 8 testbot.
dlls/d3d8/tests/device.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index d5989b8b09a..1a5a0405cb7 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -9475,6 +9475,8 @@ static void test_draw_primitive(void)
ok(SUCCEEDED(hr), "Unlock failed, hr %#x.\n", hr);
hr = IDirect3DDevice8_SetStreamSource(device, 0, vertex_buffer, sizeof(*quad));
ok(SUCCEEDED(hr), "SetStreamSource failed, hr %#x.\n", hr);
+ hr = IDirect3DDevice8_SetVertexShader(device, D3DFVF_XYZ | D3DFVF_DIFFUSE);
+ ok(SUCCEEDED(hr), "Got unexpected hr %#x.\n", hr);
hr = IDirect3DDevice8_CreateIndexBuffer(device, sizeof(indices), 0, D3DFMT_INDEX16,
D3DPOOL_DEFAULT, &index_buffer);
--
2.19.2
More information about the wine-devel
mailing list