diff options
author | Brian Salomon <bsalomon@google.com> | 2018-03-09 09:33:19 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-09 18:20:40 +0000 |
commit | 26102cb6044700fd5c2a059437d75295be3dadaf (patch) | |
tree | 76cd45b1689e0170282f0c3a67332b864ea2f50f /tests/VkWrapTests.cpp | |
parent | 2fa912a7a7c687c4638f6bedaf56c70401150bb9 (diff) |
Make GrGpu::deleteTestingOnlyBackendTexture() take const GrBackendTexture&
Change-Id: Ibd00d0dc6d8c73628f26851e102defdbafab149b
Reviewed-on: https://skia-review.googlesource.com/113164
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tests/VkWrapTests.cpp')
-rw-r--r-- | tests/VkWrapTests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/VkWrapTests.cpp b/tests/VkWrapTests.cpp index 2f52972903..367fdb5c53 100644 --- a/tests/VkWrapTests.cpp +++ b/tests/VkWrapTests.cpp @@ -107,7 +107,7 @@ void wrap_rt_test(skiatest::Reporter* reporter, GrContext* context) { // When we wrapBackendRenderTarget it is always borrowed, so we must make sure to free the // resource when we're done. - gpu->deleteTestingOnlyBackendTexture(&origBackendTex); + gpu->deleteTestingOnlyBackendTexture(origBackendTex); } void wrap_trt_test(skiatest::Reporter* reporter, GrContext* context) { |