mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00
AbstractFramebuffer: Silence a -Wlogical-op-parentheses warning in ValidateConfig()
This commit is contained in:
@ -29,7 +29,7 @@ bool AbstractFramebuffer::ValidateConfig(const AbstractTexture* color_attachment
|
|||||||
return tex->GetConfig().rendertarget && tex->GetConfig().levels == 1;
|
return tex->GetConfig().rendertarget && tex->GetConfig().levels == 1;
|
||||||
};
|
};
|
||||||
if ((color_attachment && !CheckAttachment(color_attachment)) ||
|
if ((color_attachment && !CheckAttachment(color_attachment)) ||
|
||||||
depth_attachment && !CheckAttachment(depth_attachment))
|
(depth_attachment && !CheckAttachment(depth_attachment)))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user