[Chore] (MG_State/Program): revert PostLink()

This commit is contained in:
2025-08-14 20:12:18 +08:00
parent 0a3fd42019
commit 634fb4fa57
@@ -153,13 +153,11 @@ namespace MobileGL {
m_uniformOffsets[m_uniforms[name]] = offset;
}
m_uboScratch.resize(m_metadata.uboSize, 0);
return;
m_uniformTypes.resize(uniformOffsets.size());
for (const auto& [name, type] : m_metadata.plainUniformMemberTypes) {
m_uniformTypes[m_uniforms[name]] = MG_Util::ConvertSpvcTypeToGLEnum(type);
}
}
} // namespace GLState
} // namespace MG_State