From 3743922d4d0b9a37e7ef1b65f3e7565d8d8ef768 Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Thu, 14 Aug 2025 17:51:42 +0800 Subject: [PATCH] [Chore] (MG_Test/Program): bisect PostLink() no.1. --- MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {