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