Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index 9d79a6dc89cda3249e1035562fdd2054e2b2dd34..f5235709ff6b91090bdd9aa19b6c86daeeac03b5 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -306,7 +306,7 @@ bool GrClipMaskManager::setupClipping(GrPipelineBuilder* pipelineBuilder, |
} |
// If MSAA is enabled we can do everything in the stencil buffer. |
- if (0 == rt->numSamples() && requiresAA) { |
+ if (0 == rt->numColorSamples() && requiresAA) { |
GrTexture* result = NULL; |
// The top-left of the mask corresponds to the top-left corner of the bounds. |