Bug 1077301 - Ensure EGL images are released when destroying the texture. r=nical
This commit is contained in:
@@ -262,7 +262,9 @@ GrallocTextureHostOGL::GrallocTextureHostOGL(TextureFlags aFlags,
|
||||
}
|
||||
|
||||
GrallocTextureHostOGL::~GrallocTextureHostOGL()
|
||||
{}
|
||||
{
|
||||
DestroyEGLImage();
|
||||
}
|
||||
|
||||
void
|
||||
GrallocTextureHostOGL::SetCompositor(Compositor* aCompositor)
|
||||
|
||||
Reference in New Issue
Block a user