diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-02-08 21:24:03 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-02-08 21:24:03 +0000 |
| commit | d2d4cd68130fdcea22c2945b6d7330ebe4ff95da (patch) | |
| tree | 5b7d160861ba3d228b431c0ef8b014969e427574 /Graphics/GraphicsTools | |
| parent | Merge branch 'master' of https://github.com/DiligentGraphics/DiligentCore.git (diff) | |
| download | DiligentCore-d2d4cd68130fdcea22c2945b6d7330ebe4ff95da.tar.gz DiligentCore-d2d4cd68130fdcea22c2945b6d7330ebe4ff95da.zip | |
Defined constructos to fix build errors on Apple's clang
Diffstat (limited to 'Graphics/GraphicsTools')
| -rw-r--r-- | Graphics/GraphicsTools/include/CommonlyUsedStates.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/Graphics/GraphicsTools/include/CommonlyUsedStates.h b/Graphics/GraphicsTools/include/CommonlyUsedStates.h index 7cbe5aa9..6257b3c2 100644 --- a/Graphics/GraphicsTools/include/CommonlyUsedStates.h +++ b/Graphics/GraphicsTools/include/CommonlyUsedStates.h @@ -67,17 +67,16 @@ namespace Diligent { False, // AlphaToCoverageEnable False, // IndependentBlendEnable - { // RenderTagets - { - True, // BlendEnable - False, // LogicOperationEnable - BLEND_FACTOR_SRC_ALPHA, // SrcBlend - BLEND_FACTOR_INV_SRC_ALPHA, // DestBlend - BLEND_OPERATION_ADD, // BlendOp - BLEND_FACTOR_SRC_ALPHA, // SrcBlendAlpha - BLEND_FACTOR_INV_SRC_ALPHA, // DestBlendAlpha - BLEND_OPERATION_ADD // BlendOpAlpha - } + RenderTargetBlendDesc// RT0 + { + True, // BlendEnable + False, // LogicOperationEnable + BLEND_FACTOR_SRC_ALPHA, // SrcBlend + BLEND_FACTOR_INV_SRC_ALPHA, // DestBlend + BLEND_OPERATION_ADD, // BlendOp + BLEND_FACTOR_SRC_ALPHA, // SrcBlendAlpha + BLEND_FACTOR_INV_SRC_ALPHA, // DestBlendAlpha + BLEND_OPERATION_ADD // BlendOpAlpha } }; |
