aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/TextureProxyTest.cpp
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2018-07-02 16:47:38 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-03 13:41:13 +0000
commitff2181e62e79ffd2ce628fc8c05b5457d4f54163 (patch)
tree5185ca093986d1ee49dd3abfa93a00991c77ac7a /tests/TextureProxyTest.cpp
parent94d57c477fe122c146a034c625cebb6c44ef21b0 (diff)
Remove setting/use of GrPixelConfig in GrBackendTex/RT ctors.
Bug: skia: Change-Id: I1466668e3502cd1e6e1f6aed4105e0f626d293dd Reviewed-on: https://skia-review.googlesource.com/138987 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests/TextureProxyTest.cpp')
-rw-r--r--tests/TextureProxyTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/TextureProxyTest.cpp b/tests/TextureProxyTest.cpp
index 0225f14cbc..15e3ef6d9f 100644
--- a/tests/TextureProxyTest.cpp
+++ b/tests/TextureProxyTest.cpp
@@ -106,6 +106,7 @@ static sk_sp<GrTextureProxy> create_wrapped_backend(GrContext* context, SkBackin
}
GrBackendTexture backendTex = (*backingSurface)->getBackendTexture();
+ backendTex.setPixelConfig(desc.fConfig);
return proxyProvider->wrapBackendTexture(backendTex, kBottomLeft_GrSurfaceOrigin);
}