Skip to content
Permalink
Browse files
Merge pull request #6502 from lioncash/warn
AbstractFramebuffer: Silence a -Wlogical-op-parentheses warning in ValidateConfig()
  • Loading branch information
leoetlino committed Mar 23, 2018
2 parents e88cc33 + 2ab29a4 commit dc098fd
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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;
}

0 comments on commit dc098fd

Please sign in to comment.