From 0c51eeada6a91b03a91a17e94d0afea6331709d9 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Fri, 9 Mar 2018 17:02:09 -0500 Subject: Add GrMockRenderTarget and mock backend render targets Change-Id: I59673dd7d0015471b7a81aa0c237c67043892454 Reviewed-on: https://skia-review.googlesource.com/113427 Commit-Queue: Brian Salomon Reviewed-by: Greg Daniel --- tools/gpu/GrTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gpu/GrTest.cpp') 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(); -- cgit v1.2.3