mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +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_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
|
||||
|
||||
Reference in New Issue
Block a user