Index: src/gpu/gl/GrGpuGL.cpp |
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp |
index a670eae613cfdc8c0bd25f19e4738337eb9b73f0..1a1bad7f28a0fe35296101ce68d6106ca317b88e 100644 |
--- a/src/gpu/gl/GrGpuGL.cpp |
+++ b/src/gpu/gl/GrGpuGL.cpp |
@@ -479,7 +479,7 @@ |
if (this->uploadTexData(desc, false, |
left, top, width, height, |
config, buffer, rowBytes)) { |
- texture->impl()->dirtyMipMaps(true); |
+ texture->dirtyMipMaps(true); |
return true; |
} else { |
return false; |
@@ -1583,8 +1583,8 @@ |
} |
GrTexture *texture = rt->asTexture(); |
- if (NULL != texture) { |
- texture->impl()->dirtyMipMaps(true); |
+ if (texture) { |
+ texture->dirtyMipMaps(true); |
} |
} |