2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 18:24:55 +00:00

macOS build fixes

This commit is contained in:
Jack Andersen
2019-05-10 13:08:58 -10:00
parent 4554fc06bc
commit bf3ac9e34b
11 changed files with 688 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ struct SModelShadersInfo {
const hecl::Backend::ExtensionSlot& extension)
: m_material(material), m_tag(tag), m_extension(extension) {
m_hash = m_tag.val64();
hecl::hash_combine_impl(m_hash, std::hash<uint64_t>()(m_extension.hash()));
hecl::hash_combine_impl<uint64_t>(m_hash, std::hash<uint64_t>()(m_extension.hash()));
m_vtxFmtData = tag.vertexFormat();
m_vtxFmt = boo::VertexFormatInfo(m_vtxFmtData.size(), m_vtxFmtData.data());