diff options
Diffstat (limited to 'gfx/gl/SharedSurfaceIO.h')
-rw-r--r-- | gfx/gl/SharedSurfaceIO.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/gl/SharedSurfaceIO.h b/gfx/gl/SharedSurfaceIO.h index 938173b982..94804e3d0c 100644 --- a/gfx/gl/SharedSurfaceIO.h +++ b/gfx/gl/SharedSurfaceIO.h @@ -47,6 +47,8 @@ class SurfaceFactory_IOSurface : public SurfaceFactory { explicit SurfaceFactory_IOSurface(GLContext& gl); + bool SupportsCspaces() const override { return true; } + virtual UniquePtr<SharedSurface> CreateSharedImpl( const SharedSurfaceDesc& desc) override { if (desc.size.width > mMaxDims.width || |