diff options
author | Brian Osman <brianosman@google.com> | 2017-09-22 15:27:19 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-22 19:50:19 +0000 |
commit | acbdb5d9903d0578e3163e2187e58da9573a3bd5 (patch) | |
tree | c1f25f58df5db9f69974677e83036564687c3a86 /src/gpu/GrTextureProxy.cpp | |
parent | 4935a019125a15f8c56bfd2a6b3d3629a64cad33 (diff) |
Remove unused function with an incorrect assert
Bug: skia:
Change-Id: I4003085fbb1cadc4aeb2e950f1a9f44f96d03a93
Reviewed-on: https://skia-review.googlesource.com/50240
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrTextureProxy.cpp')
-rw-r--r-- | src/gpu/GrTextureProxy.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gpu/GrTextureProxy.cpp b/src/gpu/GrTextureProxy.cpp index 208ef78790..6ce9bb1782 100644 --- a/src/gpu/GrTextureProxy.cpp +++ b/src/gpu/GrTextureProxy.cpp @@ -67,16 +67,6 @@ sk_sp<GrSurface> GrTextureProxy::createSurface(GrResourceProvider* resourceProvi return surface; } -void GrTextureProxy::setMipColorMode(SkDestinationSurfaceColorMode colorMode) { - SkASSERT(fTarget || fTarget->asTexture()); - - if (fTarget) { - fTarget->asTexture()->texturePriv().setMipColorMode(colorMode); - } - - fMipColorMode = colorMode; -} - // This method parallels the highest_filter_mode functions in GrGLTexture & GrVkTexture. GrSamplerState::Filter GrTextureProxy::highestFilterMode() const { if (fTarget) { |