From 2fbbd035302393cc92df8b2a08575dcfc6bdd375 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Tue, 10 Apr 2018 10:26:44 -0400 Subject: Remove extra Vulkan submitCommandBuffer from deleteTestingOnlyBackendTexture Change-Id: I6e2fd012d1c2af72a34be2d1971e210d7373fe21 Reviewed-on: https://skia-review.googlesource.com/120080 Reviewed-by: Greg Daniel Commit-Queue: Robert Phillips --- tests/SurfaceTest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/SurfaceTest.cpp') 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); } -- cgit v1.2.3