Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 66588c46bce32c1f161e52ce532e3ca2d8ecf6a9..5a59bc17fdfbddc45fc0919d88cbb808162ff826 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -388,14 +388,11 @@ |
GrTexture* texture; |
if (GrTextureImpl::NeedsResizing(resourceKey)) { |
- // We do not know how to resize compressed textures. |
- SkASSERT(!GrPixelConfigIsCompressed(desc.fConfig)); |
- |
texture = this->createResizedTexture(desc, cacheID, |
srcData, rowBytes, |
GrTextureImpl::NeedsBilerp(resourceKey)); |
} else { |
- texture = fGpu->createTexture(desc, srcData, rowBytes); |
+ texture= fGpu->createTexture(desc, srcData, rowBytes); |
} |
if (NULL != texture) { |