Bug 1016540 - GrallocTextureSource::DeallocateDeviceData must assert that it has a compositor, rather than a gl context. r=sotaro
This commit is contained in:
@@ -295,7 +295,7 @@ void
|
||||
GrallocTextureSourceOGL::DeallocateDeviceData()
|
||||
{
|
||||
if (mEGLImage) {
|
||||
MOZ_ASSERT(gl());
|
||||
MOZ_ASSERT(mCompositor);
|
||||
if (!gl() || !gl()->MakeCurrent()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user