Module: wine Branch: master Commit: 04fa54fc440b6dd2b555cd6518f2859ef579d315 URL: http://source.winehq.org/git/wine.git/?a=commit;h=04fa54fc440b6dd2b555cd6518...
Author: Matteo Bruni mbruni@codeweavers.com Date: Tue Feb 24 13:38:16 2015 +0100
d3d8/tests: Move a Present out of the loops in fog_with_shader_test().
---
dlls/d3d8/tests/visual.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/d3d8/tests/visual.c b/dlls/d3d8/tests/visual.c index 85b3fad..a0f5971 100644 --- a/dlls/d3d8/tests/visual.c +++ b/dlls/d3d8/tests/visual.c @@ -1000,10 +1000,9 @@ static void fog_with_shader_test(void) "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]); - - IDirect3DDevice8_Present(device, NULL, NULL, NULL, NULL); } } + IDirect3DDevice8_Present(device, NULL, NULL, NULL, NULL);
IDirect3DDevice8_DeleteVertexShader(device, vertex_shader[1]); IDirect3DDevice8_DeleteVertexShader(device, vertex_shader[2]);