| Index: src/gpu/GrSurface.cpp
|
| diff --git a/src/gpu/GrSurface.cpp b/src/gpu/GrSurface.cpp
|
| index 382550e41fc43f512600a844758002984ab76fbf..18637513d36cec6d138f37c4dd2bfb584f0ddf5d 100644
|
| --- a/src/gpu/GrSurface.cpp
|
| +++ b/src/gpu/GrSurface.cpp
|
| @@ -92,7 +92,7 @@ bool GrSurfacePriv::AdjustWritePixelParams(int surfaceWidth,
|
|
|
| //////////////////////////////////////////////////////////////////////////////
|
|
|
| -bool GrSurface::writePixels(int left, int top, int width, int height,
|
| +bool GrSurface::writePixels(GrDrawContext* dc, int left, int top, int width, int height,
|
| GrPixelConfig config, const void* buffer, size_t rowBytes,
|
| uint32_t pixelOpsFlags) {
|
| // go through context so that all necessary flushing occurs
|
| @@ -100,7 +100,7 @@ bool GrSurface::writePixels(int left, int top, int width, int height,
|
| if (nullptr == context) {
|
| return false;
|
| }
|
| - return context->writeSurfacePixels(this, left, top, width, height, config, buffer, rowBytes,
|
| + return context->writeSurfacePixels(dc, this, left, top, width, height, config, buffer, rowBytes,
|
| pixelOpsFlags);
|
| }
|
|
|
|
|