OpenGLRenderer/ContextObject: Fix destruction after move
This commit is contained in:
parent
23645fc398
commit
89c08d3925
|
|
@ -42,8 +42,8 @@ namespace Nz::GL
|
||||||
static constexpr GLuint InvalidObject = 0;
|
static constexpr GLuint InvalidObject = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
MovableLiteral<GLuint, InvalidObject> m_objectId;
|
||||||
MovablePtr<const Context> m_context;
|
MovablePtr<const Context> m_context;
|
||||||
MovableValue<GLuint> m_objectId;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue