summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsTools
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-02-08 21:24:03 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-02-08 21:24:03 +0000
commitd2d4cd68130fdcea22c2945b6d7330ebe4ff95da (patch)
tree5b7d160861ba3d228b431c0ef8b014969e427574 /Graphics/GraphicsTools
parentMerge branch 'master' of https://github.com/DiligentGraphics/DiligentCore.git (diff)
downloadDiligentCore-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.h21
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
}
};