aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureRenderTargetProxy.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-05-17 14:27:58 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-18 14:38:03 +0000
commit081e0e6a32244a7945ddd40c2003fd312673c586 (patch)
tree4e21a3f2e8a7768cac66c38200f7ad3ad8a50623 /src/gpu/GrTextureRenderTargetProxy.cpp
parentc96da1e51e1ca72d54dda49f32891bd41530ad31 (diff)
Move MIP color mode from GrSurfaceProxy to GrTextureProxy
Change-Id: I76bc7f551ea4052fc611cf01e0ce81102c9c3395 Reviewed-on: https://skia-review.googlesource.com/17263 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrTextureRenderTargetProxy.cpp')
-rw-r--r--src/gpu/GrTextureRenderTargetProxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrTextureRenderTargetProxy.cpp b/src/gpu/GrTextureRenderTargetProxy.cpp
index 4f1c420830..7058c83afc 100644
--- a/src/gpu/GrTextureRenderTargetProxy.cpp
+++ b/src/gpu/GrTextureRenderTargetProxy.cpp
@@ -48,7 +48,7 @@ GrSurface* GrTextureRenderTargetProxy::instantiate(GrResourceProvider* resourceP
static constexpr GrSurfaceFlags kFlags = kRenderTarget_GrSurfaceFlag;
GrSurface* surf = this->instantiateImpl(resourceProvider, this->numStencilSamples(), kFlags,
- this->isMipMapped());
+ this->isMipMapped(), this->mipColorMode());
if (!surf) {
return nullptr;
}