[PATCH 1/2] d3d10core/tests: Remove dead code.

Stefan Dösinger stefandoesinger at gmx.at
Sun Mar 13 13:08:48 CDT 2016


---

Apparently I forgot to remove this after realizing that this test won't
work with multisampling in d3d10+.

Signed-off-by: Stefan Dösinger <stefandoesinger at gmx.at>
---
 dlls/d3d10core/tests/device.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/d3d10core/tests/device.c b/dlls/d3d10core/tests/device.c
index eaaec20..d55df15 100644
--- a/dlls/d3d10core/tests/device.c
+++ b/dlls/d3d10core/tests/device.c
@@ -5345,7 +5345,6 @@ static void test_swapchain_flip(void)
     DWORD color;
     HWND window;
     HRESULT hr;
-    UINT count;
 
     static const D3D10_INPUT_ELEMENT_DESC layout_desc[] =
     {
@@ -5585,8 +5584,6 @@ static void test_swapchain_flip(void)
     ID3D10Texture2D_Release(backbuffer_2);
     IDXGISwapChain_Release(swapchain);
 
-    hr = ID3D10Device_CheckMultisampleQualityLevels(device, DXGI_FORMAT_R8G8B8A8_UNORM, 2, &count);
-    ok(SUCCEEDED(hr), "Failed to get quality levels, hr %#x.\n", hr);
     refcount = ID3D10Device_Release(device);
     ok(!refcount, "Device has %u references left.\n", refcount);
     DestroyWindow(window);
-- 
2.4.10




More information about the wine-patches mailing list