aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-03-09 17:02:09 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-09 22:32:14 +0000
commit0c51eeada6a91b03a91a17e94d0afea6331709d9 (patch)
tree280d2016faa326b1ef150f81a6e16a739cebfbbe /tools/gpu
parent8c4cbf4cfb6d9236dfd69273bff7e8384744c29a (diff)
Add GrMockRenderTarget and mock backend render targets
Change-Id: I59673dd7d0015471b7a81aa0c237c67043892454 Reviewed-on: https://skia-review.googlesource.com/113427 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'tools/gpu')
-rw-r--r--tools/gpu/GrTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp
index ae86aaed82..e33e2dd5c7 100644
--- a/tools/gpu/GrTest.cpp
+++ b/tools/gpu/GrTest.cpp
@@ -71,7 +71,7 @@ GrBackendTexture CreateBackendTexture(GrBackend backend, int width, int height,
}
case kMock_GrBackend: {
GrMockTextureInfo* mockInfo = (GrMockTextureInfo*)(handle);
- return GrBackendTexture(width, height, config, mipMapped, *mockInfo);
+ return GrBackendTexture(width, height, mipMapped, *mockInfo);
}
default:
return GrBackendTexture();