Nikolay Sivov : dxgi/tests: Add a IDXGIResource support test for CreateSurface().
Alexandre Julliard
julliard at winehq.org
Wed Jun 15 16:05:58 CDT 2022
Module: wine
Branch: master
Commit: 9a78bd87c4ecd823d8c182c0855be75aaa6685e9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9a78bd87c4ecd823d8c182c0855be75aaa6685e9
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Jun 8 13:57:12 2022 +0300
dxgi/tests: Add a IDXGIResource support test for CreateSurface().
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/dxgi/tests/dxgi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/dxgi/tests/dxgi.c b/dlls/dxgi/tests/dxgi.c
index 33e9ead31ad..d205c457153 100644
--- a/dlls/dxgi/tests/dxgi.c
+++ b/dlls/dxgi/tests/dxgi.c
@@ -1265,6 +1265,8 @@ static void test_create_surface(void)
hr = IDXGIDevice_CreateSurface(device, &desc, 1, DXGI_USAGE_RENDER_TARGET_OUTPUT, NULL, &surface);
ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr);
+ if (strcmp(winetest_platform, "wine"))
+ check_interface(surface, &IID_IDXGIResource, TRUE, FALSE);
check_interface(surface, &IID_ID3D10Texture2D, TRUE, FALSE);
/* Not available on all Windows versions. */
check_interface(surface, &IID_ID3D11Texture2D, TRUE, TRUE);
More information about the wine-cvs
mailing list