Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index dcb22e066017c2dd9ca1591eb20178cd210dd9b4..64f4cb3deca237649047db0ababf9954813ca01e 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -324,9 +324,7 @@ |
{ |
GrTexture* texture = NULL; |
if (!(kUnpremul_PixelOpsFlag & pixelOpsFlags) && (texture = surface->asTexture()) && |
- fGpu->canWriteTexturePixels(texture, srcConfig) && |
- (!fCaps->useDrawInsteadOfPartialTextureWrite() || |
- (width == texture->width() && height == texture->height()))) { |
+ fGpu->canWriteTexturePixels(texture, srcConfig)) { |
if (!(kDontFlush_PixelOpsFlag & pixelOpsFlags) && |
surface->surfacePriv().hasPendingIO()) { |