=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: d3d11/tests: Get rid of unnecessary clear from test_so_statistics_query().

Alexandre Julliard julliard at winehq.org
Fri Nov 23 14:18:03 CST 2018


Module: wine
Branch: master
Commit: 5e86898626b2ba35b3be155311f463e33c3c0ff2
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5e86898626b2ba35b3be155311f463e33c3c0ff2

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Thu Nov 22 17:49:06 2018 +0100

d3d11/tests: Get rid of unnecessary clear from test_so_statistics_query().

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3d11/tests/d3d11.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/d3d11/tests/d3d11.c b/dlls/d3d11/tests/d3d11.c
index 016c32e..3efba83 100644
--- a/dlls/d3d11/tests/d3d11.c
+++ b/dlls/d3d11/tests/d3d11.c
@@ -5813,7 +5813,6 @@ static void test_so_statistics_query(void)
     unsigned int i;
     HRESULT hr;
 
-    static const float white[] = {1.0f, 1.0f, 1.0f, 1.0f};
     static const DWORD vs_code[] =
     {
 #if 0
@@ -5994,8 +5993,6 @@ static void test_so_statistics_query(void)
 
     ID3D11DeviceContext_IASetPrimitiveTopology(context, D3D11_PRIMITIVE_TOPOLOGY_POINTLIST);
 
-    ID3D11DeviceContext_ClearRenderTargetView(context, test_context.backbuffer_rtv, white);
-
     query_desc.Query = D3D11_QUERY_SO_STATISTICS;
     query_desc.MiscFlags = 0;
     hr = ID3D11Device_CreateQuery(device, &query_desc, (ID3D11Query **)&query);




More information about the wine-cvs mailing list