GS: Fix Wmissing-braces

This commit is contained in:
Ty Lamontagne
2026-09-20 10:29:14 -04:00
committed by Ty
parent 9056c08349
commit a505c41621
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -283,7 +283,7 @@ class ShaderConvertSelector
public:
constexpr ShaderConvertSelector(ShaderConvert shader = ShaderConvert::COPY, u8 mask = 0xf,
bool depth_out = false, Filter filter = Filter::Nearest)
: fields { static_cast<u32>(shader) }
: fields {{ static_cast<u32>(shader) }}
{
*this = SetMask(mask).SetDepthOutput(depth_out).SetFilter(filter);
}
+1 -1
View File
@@ -75,7 +75,7 @@ public:
return tex->GetUAVDescriptor();
default:
pxFailRel("Impossible.");
return D3D12DescriptorHandle{ 0, 0 };
return {};
}
}