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

This commit is contained in:
sotaro 2017-10-21 07:06:41 +09:00
Родитель 321ce5365c
Коммит 47ccccdcad
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -371,7 +371,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)