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