mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-07 01:53:24 +09:00
Tests: TrackerShareGroup takes the context slot with Take() now that it is a pointer slot.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user