Index: cc/CCRenderPassDrawQuad.h |
diff --git a/cc/CCRenderPassDrawQuad.h b/cc/CCRenderPassDrawQuad.h |
index 99222d9edb83c4bcedca424f85fe43ad40f4a275..224410e3fbad6f785a201d5a5998f19db941753d 100644 |
--- a/cc/CCRenderPassDrawQuad.h |
+++ b/cc/CCRenderPassDrawQuad.h |
@@ -21,6 +21,7 @@ public: |
CCRenderPass::Id renderPassId() const { return m_renderPassId; } |
bool isReplica() const { return m_isReplica; } |
CCResourceProvider::ResourceId maskResourceId() const { return m_maskResourceId; } |
+ void setMaskResourceId(CCResourceProvider::ResourceId id) { m_maskResourceId = id; } |
const IntRect& contentsChangedSinceLastFrame() const { return m_contentsChangedSinceLastFrame; } |
static const CCRenderPassDrawQuad* materialCast(const CCDrawQuad*); |