summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestBlendState.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-10-25 06:57:11 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-10-25 06:57:11 +0000
commit5a116d0bb5971848235ddd72915520f852c43ba2 (patch)
tree9f59ad53ad09858b8c3443ff5ff9c84c0be463fa /Tests/TestApp/src/TestBlendState.cpp
parentUpdated core & samples; added Tutorial 16; updated troubleshooting (diff)
downloadDiligentEngine-5a116d0bb5971848235ddd72915520f852c43ba2.tar.gz
DiligentEngine-5a116d0bb5971848235ddd72915520f852c43ba2.zip
Fixed a number of clang warning to reduce the log size and fix travis build error
Diffstat (limited to 'Tests/TestApp/src/TestBlendState.cpp')
-rw-r--r--Tests/TestApp/src/TestBlendState.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/TestApp/src/TestBlendState.cpp b/Tests/TestApp/src/TestBlendState.cpp
index f1f373e..91035f2 100644
--- a/Tests/TestApp/src/TestBlendState.cpp
+++ b/Tests/TestApp/src/TestBlendState.cpp
@@ -237,6 +237,7 @@ TestBlendState::TestBlendState( IRenderDevice *pDevice, IDeviceContext *pContext
assert( RT1.DestBlendAlpha == BLEND_FACTOR_INV_SRC_ALPHA);
assert( RT1.BlendOpAlpha == BLEND_OPERATION_SUBTRACT);
assert( RT1.RenderTargetWriteMask == (COLOR_MASK_GREEN | COLOR_MASK_RED) );
+ (void)RT1;
const auto& RT3 = BSDesc2.RenderTargets[2];
assert(RT3.BlendEnable == true);
@@ -247,6 +248,7 @@ TestBlendState::TestBlendState( IRenderDevice *pDevice, IDeviceContext *pContext
assert(RT3.DestBlendAlpha == BLEND_FACTOR_INV_SRC_ALPHA);
assert(RT3.BlendOpAlpha == BLEND_OPERATION_SUBTRACT);
assert(RT3.RenderTargetWriteMask == (COLOR_MASK_BLUE | COLOR_MASK_ALPHA) );
+ (void)RT3;
}
{