d3d11.idl: Fixed a typo in CD3D11_BLEND_DESC constructor.

Spotted by Tom Ritter.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2018-04-20 17:32:58 +02:00 committed by Alexandre Julliard
parent 859f455cb9
commit 51c9aaf584
1 changed files with 3 additions and 1 deletions

View File

@ -1371,7 +1371,9 @@ cpp_quote(" explicit CD3D11_BLEND_DESC(const D3D11_BLEND_DESC &o) : D3D11_BLE
cpp_quote(" explicit CD3D11_BLEND_DESC(CD3D11_DEFAULT) {") cpp_quote(" explicit CD3D11_BLEND_DESC(CD3D11_DEFAULT) {")
cpp_quote(" AlphaToCoverageEnable = FALSE;") cpp_quote(" AlphaToCoverageEnable = FALSE;")
cpp_quote(" IndependentBlendEnable = FALSE;") cpp_quote(" IndependentBlendEnable = FALSE;")
cpp_quote(" for(D3D11_RENDER_TARGET_BLEND_DESC *target; target < RenderTarget+D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT; target++) {") cpp_quote(" for(D3D11_RENDER_TARGET_BLEND_DESC *target = RenderTarget;")
cpp_quote(" target < RenderTarget + D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT;")
cpp_quote(" target++) {")
cpp_quote(" target->BlendEnable = FALSE;") cpp_quote(" target->BlendEnable = FALSE;")
cpp_quote(" target->SrcBlend = target->SrcBlendAlpha = D3D11_BLEND_ONE;") cpp_quote(" target->SrcBlend = target->SrcBlendAlpha = D3D11_BLEND_ONE;")
cpp_quote(" target->DestBlend = target->DestBlendAlpha = D3D11_BLEND_ZERO;") cpp_quote(" target->DestBlend = target->DestBlendAlpha = D3D11_BLEND_ZERO;")