diff --git a/engine/src/flutter/shell/common/rasterizer.cc b/engine/src/flutter/shell/common/rasterizer.cc index df545f1dd8..6486d69aa8 100644 --- a/engine/src/flutter/shell/common/rasterizer.cc +++ b/engine/src/flutter/shell/common/rasterizer.cc @@ -176,7 +176,7 @@ static sk_sp ScreenshotLayerTreeAsImage( auto canvas = snapshot_surface->getCanvas(); auto frame = compositor_context.AcquireFrame(surface_context, canvas, false); canvas->clear(SK_ColorBLACK); - frame->Raster(*tree, false); + frame->Raster(*tree, true); canvas->flush(); // Prepare an image from the surface, this image may potentially be on th GPU.