aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpu.cpp
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2017-10-12 11:23:36 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-12 16:12:42 +0000
commit0fc4d2d269c0aff1eadf57da2e571d0d54c38f5a (patch)
treedaab2c8050304d504d014c5c93732d738c1f651b /src/gpu/GrGpu.cpp
parenta8c63075260337277d3ed405e97ba5ff89af3679 (diff)
Use enum to track MipMapsStatus throughout Texture creation
Bug: skia: Change-Id: I1de1105d74b45f7b02ff52e6b8333801d98ef1ce Reviewed-on: https://skia-review.googlesource.com/58501 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrGpu.cpp')
-rw-r--r--src/gpu/GrGpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
index 31939bc1fa..758d017027 100644
--- a/src/gpu/GrGpu.cpp
+++ b/src/gpu/GrGpu.cpp
@@ -427,7 +427,7 @@ void GrGpu::didWriteToSurface(GrSurface* surface, const SkIRect* bounds, uint32_
}
GrTexture* texture = surface->asTexture();
if (texture && 1 == mipLevels) {
- texture->texturePriv().dirtyMipMaps(true);
+ texture->texturePriv().markMipMapsDirty();
}
}
}