diff --git a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp index e2696e0e..a3820f7b 100644 --- a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp +++ b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp @@ -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