d3d11/tests: Get rid of unnecessary clear from test_so_statistics_query().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f68a4b25a4
commit
5e86898626
|
@ -5813,7 +5813,6 @@ static void test_so_statistics_query(void)
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
static const float white[] = {1.0f, 1.0f, 1.0f, 1.0f};
|
|
||||||
static const DWORD vs_code[] =
|
static const DWORD vs_code[] =
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
|
@ -5994,8 +5993,6 @@ static void test_so_statistics_query(void)
|
||||||
|
|
||||||
ID3D11DeviceContext_IASetPrimitiveTopology(context, D3D11_PRIMITIVE_TOPOLOGY_POINTLIST);
|
ID3D11DeviceContext_IASetPrimitiveTopology(context, D3D11_PRIMITIVE_TOPOLOGY_POINTLIST);
|
||||||
|
|
||||||
ID3D11DeviceContext_ClearRenderTargetView(context, test_context.backbuffer_rtv, white);
|
|
||||||
|
|
||||||
query_desc.Query = D3D11_QUERY_SO_STATISTICS;
|
query_desc.Query = D3D11_QUERY_SO_STATISTICS;
|
||||||
query_desc.MiscFlags = 0;
|
query_desc.MiscFlags = 0;
|
||||||
hr = ID3D11Device_CreateQuery(device, &query_desc, (ID3D11Query **)&query);
|
hr = ID3D11Device_CreateQuery(device, &query_desc, (ID3D11Query **)&query);
|
||||||
|
|
Loading…
Reference in New Issue