Stefan Dösinger : d3d9: Initialize the test rectangle correctly.
Module: wine Branch: master Commit: d2c166bbb7ef13f62ba08d466dfb7a3d59145d49 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d2c166bbb7ef13f62ba08d466d... Author: Stefan Dösinger <stefan(a)codeweavers.com> Date: Tue Nov 6 19:45:17 2007 +0100 d3d9: Initialize the test rectangle correctly. --- dlls/d3d9/tests/visual.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c index cccfbe6..0673e99 100644 --- a/dlls/d3d9/tests/visual.c +++ b/dlls/d3d9/tests/visual.c @@ -299,7 +299,7 @@ static void clear_test(IDirect3DDevice9 *device) /* negative x, negative y */ rect_negneg.x1 = 640; - rect_negneg.x1 = 240; + rect_negneg.y1 = 240; rect_negneg.x2 = 320; rect_negneg.y2 = 0; hr = IDirect3DDevice9_Clear(device, 1, &rect_negneg, D3DCLEAR_TARGET, 0xff00ff00, 0.0, 0);
participants (1)
-
Alexandre Julliard