Vulkan/CommandBuffer: Fix warning for GCC
Former-commit-id: f789c93664237f951dfc18cb7c5e97cb0816c4e6 [formerly dca55e27aa6a898f65a1f24b936c0521d1eab6c0] Former-commit-id: 992469ac784ee3d48180b2e8e5d2e67ba9ad7d0c
This commit is contained in:
parent
fdefa1a350
commit
b4d9eb58c1
|
|
@ -77,7 +77,7 @@ namespace Nz
|
||||||
renderPass,
|
renderPass,
|
||||||
subpass,
|
subpass,
|
||||||
framebuffer,
|
framebuffer,
|
||||||
(occlusionQueryEnable) ? VK_TRUE : VK_FALSE,
|
VkBool32((occlusionQueryEnable) ? VK_TRUE : VK_FALSE),
|
||||||
queryFlags,
|
queryFlags,
|
||||||
pipelineStatistics
|
pipelineStatistics
|
||||||
};
|
};
|
||||||
|
|
@ -102,7 +102,7 @@ namespace Nz
|
||||||
VK_NULL_HANDLE,
|
VK_NULL_HANDLE,
|
||||||
0,
|
0,
|
||||||
VK_NULL_HANDLE,
|
VK_NULL_HANDLE,
|
||||||
(occlusionQueryEnable) ? VK_TRUE : VK_FALSE,
|
VkBool32((occlusionQueryEnable) ? VK_TRUE : VK_FALSE),
|
||||||
queryFlags,
|
queryFlags,
|
||||||
pipelineStatistics
|
pipelineStatistics
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue