Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc
This commit is contained in:
@@ -171,11 +171,13 @@ GrallocTextureClientOGL::Lock(OpenMode aMode)
|
||||
NS_WARNING("Couldn't lock graphic buffer");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return BufferTextureClient::Lock(aMode);
|
||||
}
|
||||
|
||||
void
|
||||
GrallocTextureClientOGL::Unlock()
|
||||
{
|
||||
BufferTextureClient::Unlock();
|
||||
mMappedBuffer = nullptr;
|
||||
mGraphicBuffer->unlock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user