[Fix] (Test): TrackerShareGroup uses Take() for the context slot

This commit is contained in:
2026-10-10 05:25:51 -04:00
parent 96037fc502
commit 166f47f115
+1 -1
View File
@@ -1314,7 +1314,7 @@ namespace {
class TrackerShareGroup : public ::testing::Test {
protected:
void SetUp() override {
m_previous = Move(MG_State::pGLContext);
m_previous = MG_State::pGLContext.Take();
const auto group = MakeShared<MG_State::GLState::ShareGroupState>();
m_a = MakeShared<GLContext>(group);
m_b = MakeShared<GLContext>(group);