mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb/WebGL: Free back buffer texture when context is destroyed
This commit is contained in:
parent
38713d7c14
commit
89762e2ff3
|
|
@ -49,6 +49,7 @@ OpenGLContext::~OpenGLContext()
|
|||
glDeleteFramebuffers(1, &m_impl->framebuffer);
|
||||
glDeleteRenderbuffers(1, &m_impl->depth_buffer);
|
||||
eglDestroyContext(m_impl->display, m_impl->context);
|
||||
eglReleaseTexImage(m_impl->display, m_impl->surface, EGL_BACK_BUFFER);
|
||||
eglDestroySurface(m_impl->display, m_impl->surface);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user