diff --git a/gfx/layers/opengl/MacIOSurfaceTextureHostOGL.cpp b/gfx/layers/opengl/MacIOSurfaceTextureHostOGL.cpp index 0ee16eb0e9bb..ff10cdd7e6d4 100644 --- a/gfx/layers/opengl/MacIOSurfaceTextureHostOGL.cpp +++ b/gfx/layers/opengl/MacIOSurfaceTextureHostOGL.cpp @@ -16,7 +16,7 @@ MacIOSurfaceTextureHostOGL::MacIOSurfaceTextureHostOGL(TextureFlags aFlags, { mSurface = MacIOSurface::LookupSurface(aDescriptor.surface(), aDescriptor.scaleFactor(), - aDescriptor.hasAlpha()); + !aDescriptor.isOpaque()); } bool