Signed-off-by: Ziqing Hui zhui@codeweavers.com --- dlls/d2d1/tests/d2d1.c | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+)
On Wed, 7 Jul 2021 at 06:50, Ziqing Hui zhui@codeweavers.com wrote:
diff --git a/dlls/d2d1/tests/d2d1.c b/dlls/d2d1/tests/d2d1.c index e60128b38f2..25e837be40b 100644 --- a/dlls/d2d1/tests/d2d1.c +++ b/dlls/d2d1/tests/d2d1.c @@ -25,6 +25,7 @@ #include "wincrypt.h" #include "wine/test.h" #include "initguid.h" +#include "d2d1effects.h" #include "dwrite.h" #include "wincodec.h" #include "wine/heap.h"
d2d1effects.h should already be included by d2d1.h.
- hr = ID2D1RenderTarget_QueryInterface(ctx.rt, &IID_ID2D1DeviceContext, (void **)&context);
- ok(hr == S_OK, "Failed to get device context interface, hr %#x.\n", hr);
- if (hr != S_OK)
goto end;
If "hr != S_OK", the test would fail, so there's no need to handle that.