Index: src/gpu/gl/GrGLGpu.h |
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h |
index b6bc7baee758991b79301311dbcc3c36eada3f2d..5f3a751fee2d6589ccba12f77c42473b2fea720f 100644 |
--- a/src/gpu/gl/GrGLGpu.h |
+++ b/src/gpu/gl/GrGLGpu.h |
@@ -309,7 +309,7 @@ private: |
// nullptr means whole target. Can be an empty rect. |
void flushRenderTarget(GrGLRenderTarget*, const SkIRect* bounds, bool disableSRGB = false); |
// Handles cases where a surface will be updated without a call to flushRenderTarget |
- void didWriteToSurface(GrSurface*, const SkIRect* bounds) const; |
+ void didWriteToSurface(GrSurface*, const SkIRect* bounds, int mipLevels = 1) const; |
// Need not be called if flushRenderTarget is used. |
void flushViewport(const GrGLIRect&); |