Bug 910928 - Fix build and class function override for new gralloc textures. r=nical
This commit is contained in:
@@ -143,7 +143,7 @@ GrallocTextureSourceOGL::GetTextureTarget() const
|
||||
}
|
||||
|
||||
gfx::SurfaceFormat
|
||||
GrallocTextureSourceOGL::GetFormat() const MOZ_OVERRIDE {
|
||||
GrallocTextureSourceOGL::GetFormat() const {
|
||||
if (!mGraphicBuffer.get()) {
|
||||
return gfx::FORMAT_UNKNOWN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user