AbstractFramebuffer: Silence a -Wlogical-op-parentheses warning in ValidateConfig()

This commit is contained in:
Lioncash 2018-03-23 09:58:19 -04:00
parent e88cc33a29
commit 2ab29a40eb
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ bool AbstractFramebuffer::ValidateConfig(const AbstractTexture* color_attachment
return tex->GetConfig().rendertarget && tex->GetConfig().levels == 1;
};
if ((color_attachment && !CheckAttachment(color_attachment)) ||
depth_attachment && !CheckAttachment(depth_attachment))
(depth_attachment && !CheckAttachment(depth_attachment)))
{
return false;
}