Index: src/gpu/GrRenderTargetPriv.h |
diff --git a/src/gpu/GrRenderTargetPriv.h b/src/gpu/GrRenderTargetPriv.h |
index 698288e1cd97ff6a8e67b7b5184ece65d4d9b4b7..2c828ec59a2120211aaca1f7bbc9ac13a69fe006 100644 |
--- a/src/gpu/GrRenderTargetPriv.h |
+++ b/src/gpu/GrRenderTargetPriv.h |
@@ -38,7 +38,7 @@ |
typedef GrRenderTarget::Flags Flags; |
Flags flags() const { return fRenderTarget->fFlags; } |
- int maxWindowRectangles() const; |
+ bool supportsWindowRectangles() const { return this->flags() & Flags::kWindowRectsSupport; } |
private: |
explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {} |