AbstractFramebuffer: Silence a -Wlogical-op-parentheses warning in ValidateConfig()
This commit is contained in:
parent
e88cc33a29
commit
2ab29a40eb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue