From 6356cb1904b84dbda9941dd5668a3687bdde79a8 Mon Sep 17 00:00:00 2001 From: Florin Malita Date: Tue, 5 Jan 2021 12:56:34 -0500 Subject: [PATCH] Fix skottie2movie after asyncRescaleAndReadPixels changes TBR=reed Change-Id: I0cf49886b5cfee78a19ef4f521572db63fc477ba Reviewed-on: https://skia-review.googlesource.com/c/skia/+/350021 Reviewed-by: Florin Malita Reviewed-by: Mike Reed Commit-Queue: Florin Malita Commit-Queue: Florin Malita --- tools/skottie2movie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/skottie2movie.cpp b/tools/skottie2movie.cpp index b47425ae0e..e4effef98e 100644 --- a/tools/skottie2movie.cpp +++ b/tools/skottie2movie.cpp @@ -145,7 +145,7 @@ int main(int argc, char** argv) { }; surf->asyncRescaleAndReadPixels(info, {0, 0, info.width(), info.height()}, SkSurface::RescaleGamma::kSrc, - kNone_SkFilterQuality, + SkImage::RescaleMode::kNearest, read_pixels_cb, &asyncRec); context->submit(); } else {