mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1372083 - Do not compare depth in attachmentsHaveSameDimensions() r=jgilbert
This commit is contained in:
parent
cb2227a5c7
commit
602705a552
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user