amstream/tests: Use SetRectEmpty() instead of memset().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2017-04-17 21:42:00 +02:00 committed by Alexandre Julliard
parent dc0a49f3bb
commit 0e0cc67c5a
1 changed files with 1 additions and 1 deletions

View File

@ -572,7 +572,7 @@ static void test_IDirectDrawStreamSample(void)
EXPECT_REF(surface, 2);
surface2 = NULL;
memset(&rect, 0, sizeof(rect));
SetRectEmpty(&rect);
hr = IDirectDrawStreamSample_GetSurface(pddsample, &surface2, &rect);
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(surface == surface2, "got %p\n", surface2);