diff options
author | Greg Daniel <egdaniel@google.com> | 2017-10-12 11:23:36 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-12 16:12:42 +0000 |
commit | 0fc4d2d269c0aff1eadf57da2e571d0d54c38f5a (patch) | |
tree | daab2c8050304d504d014c5c93732d738c1f651b /src/gpu/GrGpu.cpp | |
parent | a8c63075260337277d3ed405e97ba5ff89af3679 (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.cpp | 2 |
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(); } } } |