Module: wine Branch: master Commit: d423e06223a18643a01b9d0433791c72021d876d URL: http://source.winehq.org/git/wine.git/?a=commit;h=d423e06223a18643a01b9d0433...
Author: Matteo Bruni mbruni@codeweavers.com Date: Fri Feb 20 13:06:06 2015 +0100
d3d9/tests: Move a Present out of the loops in fog_with_shader_test().
---
dlls/d3d9/tests/visual.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c index 5f64ec3..fb0b1b5 100644 --- a/dlls/d3d9/tests/visual.c +++ b/dlls/d3d9/tests/visual.c @@ -2214,10 +2214,9 @@ static void fog_with_shader_test(void) ok(color_match(color, test_data[i].color[j], 13), "fog vs%i ps%i fvm%i ftm%i %d: got color %08x, expected %08x +-5%%\n", test_data[i].vshader, test_data[i].pshader, test_data[i].vfog, test_data[i].tfog, j, color, test_data[i].color[j]); - - IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL); } } + IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
IDirect3DVertexShader9_Release(vertex_shader[1]); IDirect3DVertexShader9_Release(vertex_shader[2]);