aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-04-10 10:26:44 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-10 15:06:21 +0000
commit2fbbd035302393cc92df8b2a08575dcfc6bdd375 (patch)
tree6f7c0f4d02ae4f8ac109ebf55ca417cd43a781e6 /tests
parentded7a5586a3f6a1dd1cb1208878fd60af6cd989e (diff)
Remove extra Vulkan submitCommandBuffer from deleteTestingOnlyBackendTexture
Change-Id: I6e2fd012d1c2af72a34be2d1971e210d7373fe21 Reviewed-on: https://skia-review.googlesource.com/120080 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/SurfaceTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp
index aa23998181..f2e0083a06 100644
--- a/tests/SurfaceTest.cpp
+++ b/tests/SurfaceTest.cpp
@@ -1033,6 +1033,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceCreationWithColorSpace_Gpu, reporter,
context->flush();
GrGpu* gpu = context->contextPriv().getGpu();
+ gpu->testingOnly_flushGpuAndSync();
for (auto backendTex : backendTextures) {
gpu->deleteTestingOnlyBackendTexture(backendTex);
}