diff options
Diffstat (limited to 'src/gpu/GrGpu.cpp')
-rw-r--r-- | src/gpu/GrGpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp index 3da8219e69..47d406903c 100644 --- a/src/gpu/GrGpu.cpp +++ b/src/gpu/GrGpu.cpp @@ -231,10 +231,10 @@ void GrGpu::forceRenderTargetFlush() { bool GrGpu::readPixels(GrRenderTarget* target, int left, int top, int width, int height, GrPixelConfig config, void* buffer, - size_t rowBytes, bool invertY) { + size_t rowBytes) { this->handleDirtyContext(); return this->onReadPixels(target, left, top, width, height, - config, buffer, rowBytes, invertY); + config, buffer, rowBytes); } void GrGpu::writeTexturePixels(GrTexture* texture, |