diff options
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r-- | include/gpu/GrContext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index 712eff60b6..5c796b26c0 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -903,9 +903,10 @@ private: void flushDrawBuffer(); + class AutoRestoreEffects; /// Sets the paint and returns the target to draw into. The paint can be NULL in which case the /// draw state is left unmodified. - GrDrawTarget* prepareToDraw(const GrPaint*, BufferedDraw); + GrDrawTarget* prepareToDraw(const GrPaint*, BufferedDraw, AutoRestoreEffects*); void internalDrawPath(GrDrawTarget* target, bool useAA, const SkPath& path, const SkStrokeRec& stroke); |