diff --git a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp index 339855b2..7be2952f 100644 --- a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp +++ b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp @@ -59,7 +59,7 @@ namespace MobileGL { THROW_EXCEPTION(e); } - // PostLink(); + PostLink(); } void ProgramObject::MarkAsDeleted() { @@ -145,6 +145,7 @@ namespace MobileGL { assert(false); return; } + return; m_metadata = session.GetMetadata(); auto& uniformOffsets = m_metadata.plainUniformOffsetsInUBO; for (const auto& [name, offset] : uniformOffsets) {