mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
VideoBackends:Metal: Use standardized C++ features over clang builtins
This commit is contained in:
@ -83,7 +83,7 @@ public:
|
||||
|
||||
id<MTLSamplerState> GetSampler(SamplerSelector sel)
|
||||
{
|
||||
if (__builtin_expect(!m_samplers[sel.value], false))
|
||||
if (!m_samplers[sel.value]) [[unlikely]]
|
||||
m_samplers[sel.value] = CreateSampler(sel);
|
||||
return m_samplers[sel.value];
|
||||
}
|
||||
|
Reference in New Issue
Block a user