[Nit] Silence more minor warnings
* Silence -Wdeprecated-literal-operator * Silence -Wmissing-braces warning * Silence -Wbitwise-instead-of-logical warning * Silence -Wlogical-op-parentheses warning
This commit is contained in:
parent
e2bd23dfa0
commit
5834fe6abe
6 changed files with 18 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