This commit is contained in:
Eduardo Bart
2011-12-29 17:36:43 -02:00
parent d597335135
commit 7c0ad7a356
7 changed files with 17 additions and 11 deletions

View File

@@ -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;
}