Index: src/gpu/GrTexture.cpp |
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp |
index 33b8687017378d776e18867c6edceea4b4ce45a6..e954c5ee85bdde547c9082643c23db473cce6dbe 100644 |
--- a/src/gpu/GrTexture.cpp |
+++ b/src/gpu/GrTexture.cpp |
@@ -51,7 +51,7 @@ void GrTexture::validateDesc() const { |
if (this->asRenderTarget()) { |
// This texture has a render target |
SkASSERT(0 != (fDesc.fFlags & kRenderTarget_GrSurfaceFlag)); |
- SkASSERT(fDesc.fSampleCnt == this->asRenderTarget()->numSamples()); |
+ SkASSERT(fDesc.fSampleCnt == this->asRenderTarget()->numColorSamples()); |
} else { |
SkASSERT(0 == (fDesc.fFlags & kRenderTarget_GrSurfaceFlag)); |
SkASSERT(0 == fDesc.fSampleCnt); |