[PATCH 2/7] dxgi/tests: Add a IDXGIResource support test for CreateSurface().
Nikolay Sivov
wine at gitlab.winehq.org
Thu Jun 9 02:22:37 CDT 2022
From: Nikolay Sivov <nsivov at codeweavers.com>
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..5fd0ba89054 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);
+ todo_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);
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/212
More information about the wine-devel
mailing list