mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-20 00:11:56 +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 {
|
class TrackerShareGroup : public ::testing::Test {
|
||||||
protected:
|
protected:
|
||||||
void SetUp() override {
|
void SetUp() override {
|
||||||
m_previous = Move(MG_State::pGLContext);
|
m_previous = MG_State::pGLContext.Take();
|
||||||
const auto group = MakeShared<MG_State::GLState::ShareGroupState>();
|
const auto group = MakeShared<MG_State::GLState::ShareGroupState>();
|
||||||
m_a = MakeShared<GLContext>(group);
|
m_a = MakeShared<GLContext>(group);
|
||||||
m_b = MakeShared<GLContext>(group);
|
m_b = MakeShared<GLContext>(group);
|
||||||
|
|||||||
Reference in New Issue
Block a user