diff options
Diffstat (limited to 'src/gpu/mock/GrMockCaps.h')
-rw-r--r-- | src/gpu/mock/GrMockCaps.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/mock/GrMockCaps.h b/src/gpu/mock/GrMockCaps.h index 4bcd4599c5..27d295ebd5 100644 --- a/src/gpu/mock/GrMockCaps.h +++ b/src/gpu/mock/GrMockCaps.h @@ -67,7 +67,8 @@ public: return 0; } - bool surfaceSupportsWritePixels(const GrSurface* surface) const override { return true; } + bool surfaceSupportsWritePixels(const GrSurface*) const override { return true; } + bool surfaceSupportsReadPixels(const GrSurface*) const override { return true; } bool initDescForDstCopy(const GrRenderTargetProxy* src, GrSurfaceDesc* desc, GrSurfaceOrigin*, bool* rectsMustMatch, bool* disallowSubrect) const override { |