Bug 1372083 - Do not compare depth in attachmentsHaveSameDimensions() r=jgilbert

This commit is contained in:
sotaro 2017-07-18 19:25:29 +09:00
parent cb2227a5c7
commit 602705a552

View File

@ -180,7 +180,9 @@ bool FramebufferState::attachmentsHaveSameDimensions() const
return false;
}
return (attachment.getSize() != attachmentSize.value());
const Extents &size = attachment.getSize();
return size.width != attachmentSize.value().width ||
size.height != attachmentSize.value().height;
};
for (const auto &attachment : mColorAttachments)