=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: d3d10core/tests: Remove dead code.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 6 11:12:03 CDT 2016


Module: wine
Branch: master
Commit: 3272e49984ef58435b670143ad94ac2432b7cd77
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3272e49984ef58435b670143ad94ac2432b7cd77

Author: Stefan Dösinger <stefandoesinger at gmx.at>
Date:   Tue Apr  5 18:24:25 2016 +0200

d3d10core/tests: Remove dead code.

Signed-off-by: Stefan Dösinger <stefandoesinger at gmx.at>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 45b0fd2..3783da5 100644
--- a/dlls/d3d10core/tests/device.c
+++ b/dlls/d3d10core/tests/device.c
@@ -5679,7 +5679,6 @@ static void test_swapchain_flip(void)
     DWORD color;
     HWND window;
     HRESULT hr;
-    UINT count;
 
     static const D3D10_INPUT_ELEMENT_DESC layout_desc[] =
     {
@@ -5919,8 +5918,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);




More information about the wine-cvs mailing list