Commit a65f16bf authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

ddraw/tests: Fix IDirect3DDevice typo.

parent e99937ef
...@@ -8295,11 +8295,11 @@ static void test_shademode(void) ...@@ -8295,11 +8295,11 @@ static void test_shademode(void)
hr = IDirect3DExecuteBuffer_Unlock(execute_buffer); hr = IDirect3DExecuteBuffer_Unlock(execute_buffer);
ok(SUCCEEDED(hr), "Failed to unlock execute buffer, hr %#x.\n", hr); ok(SUCCEEDED(hr), "Failed to unlock execute buffer, hr %#x.\n", hr);
hr = IDirect3DDevice2_BeginScene(device); hr = IDirect3DDevice_BeginScene(device);
set_execute_data(execute_buffer, 4, sizeof(quad_strip), inst_length); set_execute_data(execute_buffer, 4, sizeof(quad_strip), inst_length);
hr = IDirect3DDevice_Execute(device, execute_buffer, viewport, D3DEXECUTE_CLIPPED); hr = IDirect3DDevice_Execute(device, execute_buffer, viewport, D3DEXECUTE_CLIPPED);
ok(SUCCEEDED(hr), "Failed to execute exec buffer, hr %#x.\n", hr); ok(SUCCEEDED(hr), "Failed to execute exec buffer, hr %#x.\n", hr);
hr = IDirect3DDevice2_EndScene(device); hr = IDirect3DDevice_EndScene(device);
ok(SUCCEEDED(hr), "Failed to end scene, hr %#x.\n", hr); ok(SUCCEEDED(hr), "Failed to end scene, hr %#x.\n", hr);
color0 = get_surface_color(rt, 100, 100); /* Inside first triangle */ color0 = get_surface_color(rt, 100, 100); /* Inside first triangle */
......
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