Index: cc/CCQuadCuller.cpp |
diff --git a/cc/CCQuadCuller.cpp b/cc/CCQuadCuller.cpp |
index 8955a98a303dc740f20575715481cfedd8f2cd5d..ad43a654682c02dad6c17d0e51505e74bdc1a19b 100644 |
--- a/cc/CCQuadCuller.cpp |
+++ b/cc/CCQuadCuller.cpp |
@@ -83,7 +83,7 @@ bool CCQuadCuller::append(scoped_ptr<CCDrawQuad> drawQuad, CCAppendQuadsData& ap |
if (m_forSurface) |
culledRect = m_occlusionTracker->unoccludedContributingSurfaceContentRect(m_layer, false, drawQuad->quadRect(), &hasOcclusionFromOutsideTargetSurface); |
else |
- culledRect = m_occlusionTracker->unoccludedContentRect(m_layer, drawQuad->quadRect(), &hasOcclusionFromOutsideTargetSurface); |
+ culledRect = m_occlusionTracker->unoccludedContentRect(m_layer->renderTarget(), drawQuad->quadRect(), drawQuad->quadTransform(), true, drawQuad->clippedRectInTarget(), &hasOcclusionFromOutsideTargetSurface); |
appendQuadsData.hadOcclusionFromOutsideTargetSurface |= hasOcclusionFromOutsideTargetSurface; |