aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--dm/DMSrcSink.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp
index 4e1e31d8f0..8650a5dd2a 100644
--- a/dm/DMSrcSink.cpp
+++ b/dm/DMSrcSink.cpp
@@ -2669,6 +2669,7 @@ Error ViaDDL::draw(const Src& src, SkBitmap* bitmap, SkWStream* stream, SkString
// DDL TODO: remove the cleanUpVRAM method and use the release & done
// callbacks.
GrGpu* gpu = context->contextPriv().getGpu();
+ context->flush();
gpu->testingOnly_flushGpuAndSync();
helper.cleanUpVRAM(context);