mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d3d10core/tests: Use the correct enum in test_create_shader_resource_view().
This commit is contained in:
parent
be65d6ab3c
commit
7c722bea28
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue