summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-01-08 05:16:37 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-01-08 05:16:37 +0000
commitad4bded2ac01e1bdbf146403a85163d10bf16014 (patch)
tree83249d0449b334999ac7ef6614a2aa3687876b39 /Graphics/GraphicsEngineVulkan
parentFinished reworking device feature reporting; removed EngineVkCreateInfo::Devi... (diff)
downloadDiligentCore-ad4bded2ac01e1bdbf146403a85163d10bf16014.tar.gz
DiligentCore-ad4bded2ac01e1bdbf146403a85163d10bf16014.zip
Fixed some clang warnings
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/QueryManagerVk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/QueryManagerVk.cpp b/Graphics/GraphicsEngineVulkan/src/QueryManagerVk.cpp
index 18db0546..44b84e78 100644
--- a/Graphics/GraphicsEngineVulkan/src/QueryManagerVk.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/QueryManagerVk.cpp
@@ -51,8 +51,8 @@ QueryManagerVk::QueryManagerVk(RenderDeviceVkImpl* pRenderDeviceVk,
for (Uint32 QueryType = QUERY_TYPE_UNDEFINED + 1; QueryType < QUERY_TYPE_NUM_TYPES; ++QueryType)
{
- if (QueryType == QUERY_TYPE_OCCLUSION && !deviceFeatures.occlusionQueryPrecise ||
- QueryType == QUERY_TYPE_PIPELINE_STATISTICS && !deviceFeatures.pipelineStatisticsQuery)
+ if ((QueryType == QUERY_TYPE_OCCLUSION && !deviceFeatures.occlusionQueryPrecise) ||
+ (QueryType == QUERY_TYPE_PIPELINE_STATISTICS && !deviceFeatures.pipelineStatisticsQuery))
continue;
// clang-format off