mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 16:57:26 +00:00
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:
parent
dc0a49f3bb
commit
0e0cc67c5a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user