GL/Context: Fix crash in some GLX drivers

This commit is contained in:
Connor McLaughlin
2020-06-27 17:23:43 +10:00
parent 15afe4f436
commit 745b53e4cb
2 changed files with 19 additions and 0 deletions

View File

@ -36,6 +36,9 @@ private:
GLXFBConfig m_fb_config = {};
XVisualInfo* m_vi = nullptr;
X11Window m_window;
// GLAD releases its reference to libGL.so, so we need to maintain our own.
void* m_libGL_handle = nullptr;
};
} // namespace GL