[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:
Marcus Minhorst 2025-09-19 22:49:03 -04:00 committed by GitHub
commit 5834fe6abe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 18 additions and 16 deletions

View file

@ -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();