mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Chore] (MG_State/Program): revert PostLink()
This commit is contained in:
@@ -153,13 +153,11 @@ namespace MobileGL {
|
|||||||
m_uniformOffsets[m_uniforms[name]] = offset;
|
m_uniformOffsets[m_uniforms[name]] = offset;
|
||||||
}
|
}
|
||||||
m_uboScratch.resize(m_metadata.uboSize, 0);
|
m_uboScratch.resize(m_metadata.uboSize, 0);
|
||||||
return;
|
|
||||||
|
|
||||||
m_uniformTypes.resize(uniformOffsets.size());
|
m_uniformTypes.resize(uniformOffsets.size());
|
||||||
for (const auto& [name, type] : m_metadata.plainUniformMemberTypes) {
|
for (const auto& [name, type] : m_metadata.plainUniformMemberTypes) {
|
||||||
m_uniformTypes[m_uniforms[name]] = MG_Util::ConvertSpvcTypeToGLEnum(type);
|
m_uniformTypes[m_uniforms[name]] = MG_Util::ConvertSpvcTypeToGLEnum(type);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
} // namespace GLState
|
} // namespace GLState
|
||||||
} // namespace MG_State
|
} // namespace MG_State
|
||||||
|
|||||||
Reference in New Issue
Block a user