d3d10core/tests: Use the correct enum in test_create_shader_resource_view().

This commit is contained in:
Henri Verbeet 2012-11-27 22:11:00 +01:00 committed by Alexandre Julliard
parent be65d6ab3c
commit 7c722bea28

View file

@ -383,7 +383,7 @@ static void test_create_shader_resource_view(void)
ok(hr == E_INVALIDARG, "Got unexpected hr %#x.\n", hr);
srv_desc.Format = DXGI_FORMAT_R32G32B32A32_FLOAT;
srv_desc.ViewDimension = D3D10_RTV_DIMENSION_BUFFER;
srv_desc.ViewDimension = D3D10_SRV_DIMENSION_BUFFER;
U(srv_desc).Buffer.ElementOffset = 0;
U(srv_desc).Buffer.ElementWidth = 64;