Restore the original GL attributes after EGLRenderer is destroyed
This commit is contained in:
parent
1fcd306879
commit
42ced309d3
2 changed files with 15 additions and 0 deletions
|
|
@ -37,5 +37,9 @@ private:
|
|||
PFNGLBINDVERTEXARRAYOESPROC m_glBindVertexArrayOES;
|
||||
PFNGLDELETEVERTEXARRAYSOESPROC m_glDeleteVertexArraysOES;
|
||||
|
||||
int m_OldContextProfileMask;
|
||||
int m_OldContextMajorVersion;
|
||||
int m_OldContextMinorVersion;
|
||||
|
||||
SDL_Renderer *m_DummyRenderer;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue