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/mtl/GrMtlGpu.mm | |
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/mtl/GrMtlGpu.mm')
-rw-r--r-- | src/gpu/mtl/GrMtlGpu.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/mtl/GrMtlGpu.mm b/src/gpu/mtl/GrMtlGpu.mm index 47035f9e0e..a830959bdd 100644 --- a/src/gpu/mtl/GrMtlGpu.mm +++ b/src/gpu/mtl/GrMtlGpu.mm @@ -128,7 +128,7 @@ sk_sp<GrTexture> GrMtlGpu::onCreateTexture(const GrSurfaceDesc& desc, SkBudgeted desc, mipLevels); #endif } else { - tex = GrMtlTexture::CreateNewTexture(this, budgeted, desc, mipLevels, false); + tex = GrMtlTexture::CreateNewTexture(this, budgeted, desc, mipLevels); } if (!tex) { |