Commit b8f032e6 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

d3d10core/tests: Use d3d10 enumeration types.

parent 3b5f48ab
...@@ -1835,7 +1835,7 @@ static void test_texture1d_interfaces(void) ...@@ -1835,7 +1835,7 @@ static void test_texture1d_interfaces(void)
desc.MipLevels = 1; desc.MipLevels = 1;
desc.ArraySize = 1; desc.ArraySize = 1;
desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
desc.Usage = D3D11_USAGE_DEFAULT; desc.Usage = D3D10_USAGE_DEFAULT;
desc.BindFlags = current->bind_flags; desc.BindFlags = current->bind_flags;
desc.CPUAccessFlags = 0; desc.CPUAccessFlags = 0;
desc.MiscFlags = current->misc_flags; desc.MiscFlags = current->misc_flags;
...@@ -17524,8 +17524,8 @@ static void test_multiple_viewports(void) ...@@ -17524,8 +17524,8 @@ static void test_multiple_viewports(void)
/* Two viewports, only first scissor rectangle set. */ /* Two viewports, only first scissor rectangle set. */
memset(&rasterizer_desc, 0, sizeof(rasterizer_desc)); memset(&rasterizer_desc, 0, sizeof(rasterizer_desc));
rasterizer_desc.FillMode = D3D11_FILL_SOLID; rasterizer_desc.FillMode = D3D10_FILL_SOLID;
rasterizer_desc.CullMode = D3D11_CULL_BACK; rasterizer_desc.CullMode = D3D10_CULL_BACK;
rasterizer_desc.DepthClipEnable = TRUE; rasterizer_desc.DepthClipEnable = TRUE;
rasterizer_desc.ScissorEnable = TRUE; rasterizer_desc.ScissorEnable = TRUE;
hr = ID3D10Device_CreateRasterizerState(device, &rasterizer_desc, &rasterizer_state); hr = ID3D10Device_CreateRasterizerState(device, &rasterizer_desc, &rasterizer_state);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment