зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1372083 - Do not compare depth in attachmentsHaveSameDimensions() r=jgilbert
This commit is contained in:
Родитель
cb2227a5c7
Коммит
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче