Commit 62dda27f authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

d3d8/tests: Set FVF in test_draw_primitive().

parent 88107118
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment