mirror of
https://github.com/edubart/otclient.git
synced 2025-12-18 06:37:12 +01:00
fix EGL
This commit is contained in:
@@ -421,7 +421,7 @@ void X11Window::internalDestroyGLContext()
|
||||
eglDestroyContext(m_eglDisplay, m_eglContext);
|
||||
m_eglContext = 0;
|
||||
}
|
||||
if(m_eglSurface)
|
||||
if(m_eglSurface) {
|
||||
eglDestroySurface(m_eglDisplay, m_eglSurface);
|
||||
m_eglSurface = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user