- fixed several warnings emitted by Clang.
This commit is contained in:
parent
ccb1b7ac45
commit
b8f5511ee4
12 changed files with 21 additions and 16 deletions
|
|
@ -569,7 +569,7 @@ inline RenderPassBegin& RenderPassBegin::Framebuffer(VulkanFramebuffer* framebuf
|
|||
inline RenderPassBegin& RenderPassBegin::AddClearColor(float r, float g, float b, float a)
|
||||
{
|
||||
VkClearValue clearValue = { };
|
||||
clearValue.color = { r, g, b, a };
|
||||
clearValue.color = { { r, g, b, a } };
|
||||
clearValues.push_back(clearValue);
|
||||
|
||||
renderPassInfo.clearValueCount = (uint32_t)clearValues.size();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue