d3d9: Initialize the test rectangle correctly.

This commit is contained in:
Stefan Dösinger 2007-11-06 19:45:17 +01:00 committed by Alexandre Julliard
parent 1b23dd1ba1
commit d2c166bbb7
1 changed files with 1 additions and 1 deletions

View File

@ -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);