Restore the original GL attributes after EGLRenderer is destroyed

This commit is contained in:
Cameron Gutman committed 2020-05-15 20:22:11 -07:00
1 parent 1fcd306879
commit 42ced309d3
2 files changed
+15

No files matched your search

@@ -37,5 +37,9 @@ private:
PFNGLBINDVERTEXARRAYOESPROC m_glBindVertexArrayOES;
PFNGLDELETEVERTEXARRAYSOESPROC m_glDeleteVertexArraysOES;
int m_OldContextProfileMask;
int m_OldContextMajorVersion;
int m_OldContextMinorVersion;
SDL_Renderer *m_DummyRenderer;
};