Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index afe396d6536f8c02c3a08f83923f559846213075..eb8455adbbae89355d4521fbbbeb140ede4643f7 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -1347,7 +1347,7 @@ |
} |
} |
- if (!(kDontFlush_PixelOpsFlag & flags) && texture->hasPendingIO()) { |
+ if (!(kDontFlush_PixelOpsFlag & flags)) { |
this->flush(); |
} |
@@ -1418,7 +1418,7 @@ |
} |
} |
- if (!(kDontFlush_PixelOpsFlag & flags) && target->hasPendingWrite()) { |
+ if (!(kDontFlush_PixelOpsFlag & flags)) { |
this->flush(); |
} |